Symbolic link to text editor (Sublime) on Mac

Posted by Michael on Super User See other posts from Super User or by Michael
Published on 2012-10-07T06:42:10Z Indexed on 2012/10/07 9:41 UTC
Read the original article Hit count: 324

Filed under:
|

I'm following along with this tutorial on how to use Sublime text editor https://tutsplus.com/lesson/services-and-opening-sublime-from-the-terminal/ . It gives instructions to enter the following command to enable opening of Sublime in the terminal.

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /bin/subl

After creating that link, it says I should be able to do

subl .

to open all the files in a folder in Sublime. However, when I do it, it says

-bash: subl: command not found

My system says the file exists

 ln: /bin/subl: File exists

Any idea what I can do?

© Super User or respective owner

Related posts about osx

Related posts about sublime-text-2