Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text subl shortcut not working: ln: /Users/edmundmai/bin/subl: No such file or directory

Tags:

sublimetext2

Hi I am trying to set up the terminal shortcut for sublime text 2(subl) but it's not working. I'm following the directions on https://github.com/mhartl/rails_tutorial_sublime_text/blob/master/README.md but can't get past the first step.

When I type:

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

I receive the error

ln: /Users/edmundmai/bin/subl: No such file or directory

What should I do?

like image 473
bigpotato Avatar asked Sep 07 '12 22:09

bigpotato


1 Answers

This probably means that there is no ~/bin directory. Which also probably means that it isn't in the PATH. So just continue on to the next suggestion:

sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl
like image 88
Lee Avatar answered Oct 18 '22 17:10

Lee