Skip to content

Instantly share code, notes, and snippets.

@Olgagr
Created December 7, 2013 12:58
Show Gist options
  • Save Olgagr/7840887 to your computer and use it in GitHub Desktop.
Save Olgagr/7840887 to your computer and use it in GitHub Desktop.
Terminal: Set Sublime editor to open from terminal
Make symlink:
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
And then open and edit .bash_profile:
export EDITOR='sublime -w'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment