From baf1af938eefb78995d7ad475d1b223a5e529a12 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Tue, 3 May 2022 03:22:40 +0200 Subject: [PATCH] hint sh shebang --- scripts/hooks.sh | 1 + scripts/reshctl.sh | 1 + scripts/shellrc.sh | 1 + scripts/util.sh | 2 ++ scripts/widgets.sh | 1 + 5 files changed, 6 insertions(+) diff --git a/scripts/hooks.sh b/scripts/hooks.sh index 146ddf9..5d9ebe3 100644 --- a/scripts/hooks.sh +++ b/scripts/hooks.sh @@ -1,3 +1,4 @@ +#!/hint/sh __resh_reset_variables() { __RESH_RECORD_ID=$(__resh_get_uuid) diff --git a/scripts/reshctl.sh b/scripts/reshctl.sh index 31d1a0f..d043366 100644 --- a/scripts/reshctl.sh +++ b/scripts/reshctl.sh @@ -1,3 +1,4 @@ +#!/hint/sh # shellcheck source=../submodules/bash-zsh-compat-widgets/bindfunc.sh . ~/.resh/bindfunc.sh diff --git a/scripts/shellrc.sh b/scripts/shellrc.sh index c21f335..311ed2a 100644 --- a/scripts/shellrc.sh +++ b/scripts/shellrc.sh @@ -1,3 +1,4 @@ +#!/hint/sh PATH=$PATH:~/.resh/bin # if [ -n "$ZSH_VERSION" ]; then diff --git a/scripts/util.sh b/scripts/util.sh index 96a643a..f2e2754 100644 --- a/scripts/util.sh +++ b/scripts/util.sh @@ -1,3 +1,5 @@ +#!/hint/sh + # util.sh - resh utility functions __resh_get_uuid() { cat /proc/sys/kernel/random/uuid 2>/dev/null || resh-uuid diff --git a/scripts/widgets.sh b/scripts/widgets.sh index 26f5b07..fd0a0b9 100644 --- a/scripts/widgets.sh +++ b/scripts/widgets.sh @@ -1,3 +1,4 @@ +#!/hint/sh # shellcheck source=hooks.sh . ~/.resh/hooks.sh