Fix ZSH syntax error (#711)

Fixes the syntax error introduced in #710.
This commit is contained in:
Abhineet 2022-12-14 20:18:04 +05:30 committed by GitHub
parent fc2624997b
commit 5b406261f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ PATH="$HOME/.bin:/usr/local/sbin:$PATH"
# Try loading ASDF from the regular home dir location
if [ -f "$HOME/.asdf/asdf.sh" ]; then
. "$HOME/.asdf/asdf.sh"
elif which brew >/dev/null &&
elif which brew >/dev/null; then
. "$(brew --prefix asdf)/libexec/asdf.sh"
fi