Skip to content

Instantly share code, notes, and snippets.

@xander-miller
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save xander-miller/53c19bd76829aeb66101 to your computer and use it in GitHub Desktop.

Select an option

Save xander-miller/53c19bd76829aeb66101 to your computer and use it in GitHub Desktop.
Setup Sublime Text 2 to work from the command line in OSX
mkdir ~/bin
touch ~/.bash_profile
echo 'export PATH="~/bin:$PATH"' >> ~/.bash_profile
echo "export EDITOR='subl -w'" >> ~/.bash_profile
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment