Add tailscale zsh alias for MacOS App Store install

This commit is contained in:
Tony Blyler 2022-11-28 22:27:56 -05:00
parent 37ca6c1f5c
commit 943b245cf4
No known key found for this signature in database

View file

@ -26,6 +26,13 @@ if [ "$(uname)" = "Darwin" ]; then
for d in "${HOMEBREW_PREFIX}/opt"/*/libexec/gnubin; do
export PATH="$d:$PATH"
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
if [ -d "${HOME}/bin" ]; then