Skip to content

Instantly share code, notes, and snippets.

@marando
Last active June 13, 2016 08:22
Show Gist options
  • Save marando/b785000813e6ba775b2fdbf86118de82 to your computer and use it in GitHub Desktop.
Save marando/b785000813e6ba775b2fdbf86118de82 to your computer and use it in GitHub Desktop.
Enable Sublime Text 3 CLI

Enable Sublime Text 3 CLI

Setup

Symlink the CLI tool.

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

Usage

  • To edit a file or open an entire directory

    $ subl somefile
  • To open the current directory

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