/ Sublime Text

Installing Sublime Text's command line tool 'subl' in terminal on Mac OSX

Ref: http://stackoverflow.com/a/11031534/737143

// 1. Create a symbol link
$ cd 
$ mkdir bin
$ sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
// 2. Add path to environment
$ cd // this will get you back to home directory
$ vim .bash_profile // this will open your .bash_profile file
// add following
export PATH=$PATH:~/bin
// 3. Reopen terminal