subl to launch sublime code example
Example 1: connecting sublime to bash command line
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Example 2: connecting sublime to bash command line
export EDITOR='subl -w'
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
export EDITOR='subl -w'