how to open sublime text terminal 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'