- on terminal, run: open ~/.bash_profile
- paste: export PATH=/usr/local/bin:$PATH
- source ~/.bash_profile
- run this: ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
Forked from artero/launch_sublime_from_terminal.markdown
Last active
October 8, 2015 18:08
-
-
Save reactormade/3369118 to your computer and use it in GitHub Desktop.
Launch Sublime Text 2 from the Mac OS X Terminal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adds an alias to subl, as sublime