Created
April 20, 2012 15:55
-
-
Save seafoox/2429878 to your computer and use it in GitHub Desktop.
Launch SublimeText2 from the Terminal
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
## Launch SublimeText2 from the Terminal (on MacOS X) ## | |
1/ Open Terminal.app | |
2/ Copy/paste the following symbolic link. You can replace 'subl' at the end with the keyword of your choice | |
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl | |
3/ Now you can open files and projects directly from the Terminal | |
- Open the current folder as a project: "subl ." | |
- Open a file "subl _PATH_/file.js" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment