Fix asdf sourcing if installed via homebrew
This commit is contained in:
parent
1ef2375f78
commit
f18d06259e
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ if [ -r ~/.asdf/asdf.sh ]; then
|
|||
. ~/.asdf/asdf.sh
|
||||
fi
|
||||
|
||||
if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/asdf.sh" ]; then
|
||||
. "$(brew --prefix)/opt/asdf/asdf.sh"
|
||||
if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/libexec/asdf.sh" ]; then
|
||||
. "$(brew --prefix)/opt/asdf/libexec/asdf.sh"
|
||||
fi
|
||||
|
||||
if [ -n "$ASDF_DIR" ]; then
|
||||
|
|
Loading…
Reference in a new issue