Last active
August 29, 2015 14:13
-
-
Save mael/ea1b433e0dd17b5968d9 to your computer and use it in GitHub Desktop.
Launch Sublime Text 3 from the OS X Terminal
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
#Create link | |
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl | |
#ONLY ff you don't have PATH to usr/local/bin | |
#Open bash_profile | |
open ~/.bash_profile | |
#Add to bash_profile | |
export PATH=/usr/local/bin/subl:$PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Form "Terminal" write "subl" path of file.