要在mac 的 Command line 使用
可以使用 ln soft link 找出 Sublime text 在 Applications 內的位置 link 到 bin 內
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /bin/subl
Setup
The first task is to make a symlink to subl. Assuming you've placed Sublime Text 2 in the Applications folder, and that you have a ~/bin directory in your path, you can run:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
OS X Command Line - Sublime Text 2 Documentation
http://www.sublimetext.com/docs/2/osx_command_line.html
沒有留言:
張貼留言