From 42554ca77885b18a2341adb4ca6245ae9757d032 Mon Sep 17 00:00:00 2001 From: Rose Date: Sat, 6 Sep 2025 00:11:52 +0200 Subject: fish: add : commands --- fish/.local/bin/sysctls.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 fish/.local/bin/sysctls.sh (limited to 'fish/.local/bin/sysctls.sh') diff --git a/fish/.local/bin/sysctls.sh b/fish/.local/bin/sysctls.sh new file mode 100755 index 0000000..ab72c13 --- /dev/null +++ b/fish/.local/bin/sysctls.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash + +if [[ "$1" == "poweroff" ]]; then + doas poweroff +elif [[ "$1" == "reboot" ]]; then + doas reboot +fi -- cgit v1.2.3