Wednesday, June 27, 2012

Sublime 2 command line starter

Textmate simply needed you to type "mate file1" to open file1 in the textmate gui.

Sublime 2 doest have that. well thats stupid. so I made my own:

alias sublime='open -a "/Applications/Sublime Text 2.app"'

now just type "sublime file1" and it will start the file in the gui, just like textmate.

No comments:

Post a Comment