Skip to content

Instantly share code, notes, and snippets.

@vitormil
Last active December 10, 2015 02:08
Show Gist options
  • Save vitormil/4364716 to your computer and use it in GitHub Desktop.
Save vitormil/4364716 to your computer and use it in GitHub Desktop.
SublimeText 2 - Command-Line Setup on OS X

To open files and folders from your command-line you need to add Sublime Text 2 to your path.

sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl

And then...

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