public
Last active

Start script for Sublime Text 2. Save it as /usr/bin/subl and give it executable permissions.

  • Download Gist
subl
Shell
1 2 3 4 5 6 7 8 9
#!/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} ${@} &

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.