Last active
August 29, 2015 14:07
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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