Skip to content

Instantly share code, notes, and snippets.

@stephenway
Created April 3, 2012 15:54
Show Gist options
  • Save stephenway/2293120 to your computer and use it in GitHub Desktop.
Save stephenway/2293120 to your computer and use it in GitHub Desktop.
Sublime Install subl
# Add this to your ~/.bash_profile
export PATH="$PATH:$HOME/bin"
export EDITOR="subl -w"
# Run these commands in Terminal
source ~/.bash_profile
mkdir ~/bin
cd ~/
setfile -a "V" "bin"
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
@stephenway
Copy link
Author

Sublime Text 2 documentation article: http://www.sublimetext.com/docs/2/osx_command_line.html
Official directions are geared toward Linux, this works for OS X.

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