Created
April 3, 2012 15:54
-
-
Save stephenway/2293120 to your computer and use it in GitHub Desktop.
Sublime Install subl
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
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.