Created
February 22, 2012 16:28
-
-
Save AHaymond/1885887 to your computer and use it in GitHub Desktop.
Set up sublime text for command line operation Mac OS X
This file contains 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
Run this command in your terminal to add command line functionality for Sublime Text. | |
ln -s /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl ~/usr/local/bin/subl | |
This will create a symlink to the command line tool using your /usr/local/bin directory which should be in your PATH environment variable by default. | |
Once you create the symlink you can now open any text file by typing "subl textfile.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment