Skip to content

Instantly share code, notes, and snippets.

@jovianlin
Last active March 25, 2017 16:53
Show Gist options
  • Save jovianlin/d260bf5021678736cb8fb263e4b69ded to your computer and use it in GitHub Desktop.
Save jovianlin/d260bf5021678736cb8fb263e4b69ded to your computer and use it in GitHub Desktop.
Opening Sublime Text on command line as "subl" on Mac OS
# 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