Last active
March 25, 2017 16:53
-
-
Save jovianlin/d260bf5021678736cb8fb263e4b69ded to your computer and use it in GitHub Desktop.
Opening Sublime Text on command line as "subl" on Mac OS
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
# Check out: | |
# https://gist.github.com/adrianorsouza/df4759b0583dcd112da4 | |
# http://olivierlacan.com/posts/launch-sublime-text-3-from-the-command-line/ | |
# To usr/bin | |
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl | |
# To use/***LOCAL***/bin | |
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment