Created
January 12, 2014 01:10
-
-
Save wtsnz/8379211 to your computer and use it in GitHub Desktop.
Add subl to OSX Terminal Usage
open sublime text with the current directory "subl ."
open sublime text with the specified directory "subl /path/to/directory"
open file in sublime text "subl /path/to/file.txt"
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
cd ~ | |
mkdir bin | |
echo "export PATH=~/bin:$PATH" >> ~/.profile | |
ln -s "/Applications/Sublime Text.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