mac, start sublime from terminal

 

 

 

1.where is sublime CLI

/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl

 

 

 2. run sublime CLI from terminal

open "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"

 

 

 3. make it easy, launch sublime from anywhere via a short name

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl/usr/local/bin/sublime

 

 

posted @ 2015-05-16 05:26  zyip  阅读(370)  评论(0编辑  收藏  举报