Updated@2012-06-26 23:00 +1000:
It looks like sublime text 2 has official doc to support os x command line, I made it into /usr/local/bin/
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/
I used to run below command from terminal to open current projects in TextMate.
Now I am swiching to Sublime Text 2. Which is missing this. What I need to do just add below code into
alias sub='open -a "/Applications/Sublime Text 2.app"'
Then I can open projects the same you would have in TextMate in Sublime Text but with the following command
That means you also can open any app from terminal, like when I want to edit markdown post in jekyll, or edit README file in my project from terminal by Byword:
alias bw='open -a "/Applications/Byword.app"'