Add tailscale zsh alias for MacOS App Store install
This commit is contained in:
parent
37ca6c1f5c
commit
943b245cf4
1 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,13 @@ if [ "$(uname)" = "Darwin" ]; then
|
||||||
for d in "${HOMEBREW_PREFIX}/opt"/*/libexec/gnubin; do
|
for d in "${HOMEBREW_PREFIX}/opt"/*/libexec/gnubin; do
|
||||||
export PATH="$d:$PATH"
|
export PATH="$d:$PATH"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for TEST_PATH in /Applications/Tailscale{.localized,}/Tailscale.app/Contents/MacOS/Tailscale; do
|
||||||
|
if [ -x "$TEST_PATH" ]; then
|
||||||
|
alias tailscale="$TEST_PATH"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "${HOME}/bin" ]; then
|
if [ -d "${HOME}/bin" ]; then
|
||||||
|
|
Loading…
Reference in a new issue