mirror of https://github.com/bjeanes/dotfiles.git
Setup ASDF from Homebrew properly
parent
cbdacbd7bc
commit
bb3c0db4b1
|
@ -1,3 +0,0 @@
|
||||||
if [ -d "$HOME/.asdf" ]; then
|
|
||||||
. $HOME/.asdf/completions/asdf.bash
|
|
||||||
fi
|
|
|
@ -1,5 +1,8 @@
|
||||||
if [ -d "$HOME/.asdf" ]; then
|
if [ -f "$HOME/.asdf/asdf.sh" ]; then
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
|
elif command -v brew &>/dev/null && [ -f "`brew --prefix`/opt/asdf/libexec/asdf.sh" ]; then
|
||||||
alias arst=asdf # For Colemak
|
. `brew --prefix`/opt/asdf/libexec/asdf.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Colemak alias
|
||||||
|
command -v asdf &>/dev/null && alias arst=asdf
|
||||||
|
|
Loading…
Reference in New Issue