Having loads of difficulty getting this set up. I've fixed up my .bash_profile
, created the symlink using the following command from the sublime website:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Yet when I input that command I get:
ln: /Users/my_username/bin/subl: No such file or directory
It appears my terminal is looking at the wrong place for the file? Why is it trying to point to a bin
folder on my home directory?
My similar problem was solved simply by omitting the quotes. So if you're working with:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
I instead did:
ln -s /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl ~/bin/subl
if you are using "Sublime Text 2" try this:
or, if you path is in /usr/bin/ instead /usr/local/bin
At my end
subl
was working fine but git was unable to access it. And was displaying these errorsFor Mac OS X in the file ~/.gitconfig under [core] I had to put this code to solve the issue on my end.