Sublime command for mac :
execute those command:
subl 2:
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
subl 3:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
或者
function subl () { "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" . }
上面的所有请确认保证
1:创建了 ~bin目录。
2:在/etc/paths中加入了 ~/bin. (sudo vi /etc/paths)
本文转自破狼博客园博客,原文链接:http://www.cnblogs.com/whitewolf/p/3165484.html,如需转载请自行联系原作者