我正在尝试做的事情:
# OR for Max OSX
echo '. $HOME/.asdf/asdf.sh' >> ~/.bash_profile
echo '. $HOME/.asdf/completions/asdf.bash' >> ~/.bash_profile
我做到了,然后:
MBP-slava:~ slava$ asdf plugin-list
-bash: asdf: command not found
然后我这样做了:
cd $HOME
touch .bash_profile
vim .bash_profile
#.bash_profile
. slava/.asdf/asdf.sh
. slava/.asdf/completions/asdf.bash
.
.
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
~
~
~
我试着:
. .bash_profile
哪个输出:
-bash: slava/.asdf/asdf.sh: No such file or directory
-bash: slava/.asdf/completions/asdf.bash: No such file or directory
-bash: .: filename argument required
.: usage: . filename [arguments]
-bash: .: filename argument required
.: usage: . filename [arguments]
接着:
MBP-slava:~ slava$ asdf plugin-list
-bash: asdf: command not found
OS X 埃尔卡皮坦