Skip to content

Instantly share code, notes, and snippets.

@mael
Last active August 29, 2015 14:13
Show Gist options
  • Save mael/ea1b433e0dd17b5968d9 to your computer and use it in GitHub Desktop.
Save mael/ea1b433e0dd17b5968d9 to your computer and use it in GitHub Desktop.
Launch Sublime Text 3 from the OS X Terminal
#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
@mael
Copy link
Author

mael commented Jan 31, 2015

Form "Terminal" write "subl" path of file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment