gem install slime
The command will install a script that opens Sublime Editor when you use the command slime. OS X only I’m afraid.
gem install slime
The command will install a script that opens Sublime Editor when you use the command slime. OS X only I’m afraid.
So this can’t be done with a simple bash (shell) script instead?
Also this leaves a terminal window on the screen every time I run it.
And directly executing Sublime text 2 beta from terminal spawns a new instance of the app instead of invoking the already running instance.
there’s a subl command already on osx, which interacts well with an already-open sublime: sublimetext.com/docs/2/osx_command_line.html