Don't hard-code the zsh path
This commit is contained in:
parent
25d2be076e
commit
7a1cf17db8
5 changed files with 5 additions and 5 deletions
|
@ -1,2 +1,2 @@
|
|||
#!/usr/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
echo "${GOTO_FILE:-${HOME}/.labels.tsv}"
|
||||
|
|
2
_sed
2
_sed
|
@ -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
2
goto
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
: "${1:=--help}"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
# this is a stub, commands are elsewhere
|
||||
|
||||
ROOT="$(realpath $(dirname $0))"
|
||||
|
|
2
label
2
label
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
: "${1:=--help}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue