hint sh shebang

pull/179/head
Simon Let 4 years ago
parent f6af6246ea
commit 8aded88f69
No known key found for this signature in database
GPG Key ID: D650C65DD46D431D
  1. 1
      scripts/hooks.sh
  2. 1
      scripts/reshctl.sh
  3. 1
      scripts/shellrc.sh
  4. 2
      scripts/util.sh
  5. 1
      scripts/widgets.sh

@ -1,3 +1,4 @@
#!/hint/sh
__resh_reset_variables() { __resh_reset_variables() {
__RESH_RECORD_ID=$(__resh_get_uuid) __RESH_RECORD_ID=$(__resh_get_uuid)

@ -1,3 +1,4 @@
#!/hint/sh
# shellcheck source=../submodules/bash-zsh-compat-widgets/bindfunc.sh # shellcheck source=../submodules/bash-zsh-compat-widgets/bindfunc.sh
. ~/.resh/bindfunc.sh . ~/.resh/bindfunc.sh

@ -1,3 +1,4 @@
#!/hint/sh
PATH=$PATH:~/.resh/bin PATH=$PATH:~/.resh/bin
# if [ -n "$ZSH_VERSION" ]; then # if [ -n "$ZSH_VERSION" ]; then

@ -1,3 +1,5 @@
#!/hint/sh
# util.sh - resh utility functions # util.sh - resh utility functions
__resh_get_uuid() { __resh_get_uuid() {
cat /proc/sys/kernel/random/uuid 2>/dev/null || resh-uuid cat /proc/sys/kernel/random/uuid 2>/dev/null || resh-uuid

@ -1,3 +1,4 @@
#!/hint/sh
# shellcheck source=hooks.sh # shellcheck source=hooks.sh
. ~/.resh/hooks.sh . ~/.resh/hooks.sh

Loading…
Cancel
Save