Fix asdf sourcing if installed via homebrew

This commit is contained in:
Tony Blyler 2023-01-24 11:46:37 -05:00
parent 1ef2375f78
commit f18d06259e

View file

@ -2,8 +2,8 @@ if [ -r ~/.asdf/asdf.sh ]; then
. ~/.asdf/asdf.sh . ~/.asdf/asdf.sh
fi fi
if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/asdf.sh" ]; then if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/libexec/asdf.sh" ]; then
. "$(brew --prefix)/opt/asdf/asdf.sh" . "$(brew --prefix)/opt/asdf/libexec/asdf.sh"
fi fi
if [ -n "$ASDF_DIR" ]; then if [ -n "$ASDF_DIR" ]; then