Original Sublime 2 instruction for enabling editor to launch from command line:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
do not work in Mountain Lion.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create the
~/bindirectory if it doesn’t already exist:Then run the
lnagain. Make sure that directory is added to your$PATHby adding this to the ~/.bashrc file, creating it if it doesn’t exist:If you don’t use bash, use your manual to figure out how to add a directory to your
$PATHvariable.This is actually what the instructions say:
This implies you need to create the
~/bindirectory if it doesn’t exist, and add it to your$PATHif it is not there already. The above instructions do exactly that.If you don’t like that ugly
binfolder in your pretty home folder, you can usechflagsto make it disappear from the Finder: