I installed a new code editor. Sublime 3. I want to be able to open Sublime from the command terminal so I can use commands like
Editor .
To open a code project whose directory I am in.
To do this I tried linking the Sublime App to my 'usr/local/bin' in the following ways.
ln -s /Applications/Sublime Text.app /usr/local/bin
ln -s /Applications/Sublime Text /usr/local/bin
'Sublime' now shows up in the '/usr/local/bin' directory, however the following commands don't work.
cd /path/code_folder
Sublime .
Sublime Text.app .
Sublime Text .
They all return
-bash: Sublime: command not found