我试图通过终端打开崇高但不会打开
这是代码
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
当我尝试使用subl .bash_profile
我收到此错误
-bash: subl: command not found
有谁知道为什么????
答案 0 :(得分:0)
您需要关闭终端窗口并重新打开它才能使更改生效。或者你可以运行:
source ~/.bash_profile
这样可以在不重新启动tty会话的情况下进行更改。