▼建立軟鏈:
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
▼然后就可以用sublime命令打開文件了
sublime hello.txt
▼建立軟鏈:
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
▼然后就可以用sublime命令打開文件了
sublime hello.txt