Sublime Forum

Error opening files from sublime

#1

I want to use the feature that allows me to open files using sublime from the command line. I installed using instructions for Sublime 3, which I have. At the command prompt I entered:

ln -s “/Applications/Sublime Text 3.app/Contents/SharedSupport/bin/subl” /usr/local/bin/subl

Testing as instructed gives me the following errors:

> Davids-MacBook-Air:00-Reading-Test-Specs davidrhodes$ subl .
> -bash: subl: command not found
> Davids-MacBook-Air:~ davidrhodes$ subl --help
> -bash: subl: command not found

My expectation is that all the files in my Test Specs folder are opened in Sublime, or in the second test, the help file. The instructions I was given by my instructors (not from your site), say that if there’s an error to make sure ‘/usr/local/bin’ is on your PATH but I honestly don’t know what that means in this context. I assume the path on my command line should be the folder whose files I want to open.

I’m using Mac OSX El Capitain 10.11.5 and Sublime Build Stable Channel 3114.

Thanks in advance for your help.

David

0 Likes

#2

You can mark this resolved. I found out from a fellow student that the command is “sublime”, not “subl”. And it worked.

Thanks for a great product (paid a few months back - you deserve it!)

David

0 Likes