Skip to content

Instantly share code, notes, and snippets.

@mkroman
Created October 23, 2011 19:52
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 mkroman/1307801 to your computer and use it in GitHub Desktop.
Save mkroman/1307801 to your computer and use it in GitHub Desktop.
Start script for Sublime Text 2. Save it as /usr/bin/subl and give it executable permissions.
#!/bin/sh
# Please note that Sublime Text 2 for some reason opens an empty instance
# if the project you're trying to open is already open in another instance,
# instead of just giving it focus.
BIN=/opt/sublime-text/sublime_text
${BIN} ${@} &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment