mac在终端下中用sublime text 2 打开文件

alias subl=\''/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl'\'
然后subl 要打开的文件名即可
但是这种方法在关闭终端窗口后就不可用了,想要一直使用应当将环境变量加到配置文件中.
posted @ 2016-11-22 09:31  每天多帅一点点  阅读(364)  评论(0编辑  收藏  举报