My config:
- MacBook pro 2014
- OSX Yosemite
- ZShell
I'd like to be able to type:
EdChigliak $: sublime "filename.txt"
and have my file opened in Sublime Text. I suppose I need to add Sublime Text to the $PATH system wide since I do not wish to have to do it in every terminal session. I have been googleing for a while now and just can't crack it...
Do I need to add the whole Applications folder to path? (That is where my Sublime executable resides). Do I add it to .bash_profile file (which is empty now)? to .zshrc?
Many thanks for replies!