▼建立软链:
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
本文标题:OS X 怎么在命令行中用sublime文本编辑器打开文件
本文链接:https://www.haomeiwen.com/subject/ofrhlttx.html
网友评论