Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Last active September 13, 2015 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stvhwrd/abd67fa7f2631a7af7c8 to your computer and use it in GitHub Desktop.
Save stvhwrd/abd67fa7f2631a7af7c8 to your computer and use it in GitHub Desktop.
Create a shortcut so we can launch Sublime Text from the command-line, eg. "subl list.txt"

####Create a shortcut so we can launch Sublime Text from the terminal:

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

Now you can open a file with subl myfile.py

or start a new project in the current directory with subl .



######tested with Sublime Text 3 build 3083 on Apple MacBook Pro (Mid 2014) running OS X 10.10.5

credit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment