Don't hard-code the zsh path

This commit is contained in:
Reid 'arrdem' McKenzie 2022-08-17 16:46:24 -06:00
parent 25d2be076e
commit 7a1cf17db8
5 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,2 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
echo "${GOTO_FILE:-${HOME}/.labels.tsv}"

2
_sed
View file

@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
# MacOS support - prefer GNU sed eg. from Homebrew to 'sed'
if command -v gsed &>/dev/null; then
gsed "$@"

2
goto
View file

@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
: "${1:=--help}"

View file

@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
# this is a stub, commands are elsewhere
ROOT="$(realpath $(dirname $0))"

2
label
View file

@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/usr/bin/env zsh
: "${1:=--help}"