diff --git a/_goto_file b/_goto_file index 7b01368..1c721ed 100755 --- a/_goto_file +++ b/_goto_file @@ -1,2 +1,2 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh echo "${GOTO_FILE:-${HOME}/.labels.tsv}" diff --git a/_sed b/_sed index 0b4da1f..2cffccc 100755 --- a/_sed +++ b/_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 "$@" diff --git a/goto b/goto index af1f9fc..ca4b08f 100755 --- a/goto +++ b/goto @@ -1,4 +1,4 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh : "${1:=--help}" diff --git a/goto.plugin.zsh b/goto.plugin.zsh index 7c455ba..ead7803 100644 --- a/goto.plugin.zsh +++ b/goto.plugin.zsh @@ -1,4 +1,4 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh # this is a stub, commands are elsewhere ROOT="$(realpath $(dirname $0))" diff --git a/label b/label index e4e2a23..214139c 100755 --- a/label +++ b/label @@ -1,4 +1,4 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh : "${1:=--help}"