close
進入此篇以前
1.要先安裝 sublime2(點我安裝)
安裝完後,請確認應用程式中有Sublime Text 2
2.再確定這路徑
/usr/local/bin
是否存在
若不存在,請打以上那行來建立
sudo mkdir /usr/local/bin
之後在commandline中打上...
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
測試:
Open a Terminal window and run:
sublime filename
(replace "filename" by an actual file name)
or
sublime foldername
(replace "foldername" by an actual folder name)
or even
sublime .
(to open the entire current directory)
參考網址: https://gist.github.com/artero/1236170
文章標籤
全站熱搜
留言列表