mkdir ~/bin export PATH=~/bin:$PATH ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl export EDITOR='subl -w' git config --global core.editor "subl -n -w"