Skip to content

Instantly share code, notes, and snippets.

@johnelliott
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save johnelliott/9041823 to your computer and use it in GitHub Desktop.

Select an option

Save johnelliott/9041823 to your computer and use it in GitHub Desktop.
Add Sublime Text CLI tool via symlink

add

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

along with something that checks for the presence of the app and for the presence of the existing symlink to my setup.sh or make a sublimetext setup.sh

This assumes the app is in the Applications folder and the symlink being made doesn't exist

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