mac, start sublime from terminal

zyip發表於2015-05-16

 

 

 

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

 

 

相關文章