Created
April 2, 2017 16:53
-
-
Save rubyandcoffee/bf929fb1744c5163dcd603a25637b687 to your computer and use it in GitHub Desktop.
Open Files with subl command in terminal
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
Assume: | |
1. You have already installed Homebrew. | |
2. /usr/local/bin is your $PATH. | |
3. You are on Yosemite or El Capitain. | |
Solution: At first, run the following script on Terminal app to create specific symlink. | |
$ ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl | |
Then, | |
$ subl . | |
Hit return, it should instantly pop-up Sublime app. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment