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
|
||||
|
||||
alias arst=asdf # For Colemak
|
||||
elif command -v brew &>/dev/null && [ -f "`brew --prefix`/opt/asdf/libexec/asdf.sh" ]; then
|
||||
. `brew --prefix`/opt/asdf/libexec/asdf.sh
|
||||
fi
|
||||
|
||||
# Colemak alias
|
||||
command -v asdf &>/dev/null && alias arst=asdf
|
||||
|
|
Loading…
Reference in New Issue