Skip to content

Instantly share code, notes, and snippets.

@yakup
Forked from vanderlin/Sublime Text 3 Command
Created January 9, 2019 08:30
Show Gist options
  • Save yakup/cc92f74c4b160d9cdff2575d59f4dd36 to your computer and use it in GitHub Desktop.
Save yakup/cc92f74c4b160d9cdff2575d59f4dd36 to your computer and use it in GitHub Desktop.
Create a Sublime Text 3 symbolic link to open a file via command line. paste this into terminal and now you can run `subl .` to open the directory in sublime or `subl file.html`
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