新手问题 弱问 Sublime Text 2 使用 subl . 的问题

kww · June 26, 2014 · Last by kww replied at June 26, 2014 · 2447 hits

希望做个设置,使得在 terminal 里面只需要输入 subl . 就能打开文件。

网上查询的方法是:sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /bin/subl

但是我开始运行 subl . 的时候依然被告知:-bash: subl: command not found

我的是 Mac。

望达人解答。多谢!

解决了,呵呵。应该是: sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

You need to Sign in before reply, if you don't have an account, please Sign up first.