-1
我想要做的事:無法添加可執行
# 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埃爾卡皮坦
庫:https://github.com/asdf-vm/asdf