Is there a way to start Sublime Text X from the terminal? I am on OSX and it would be nice to be able to set Sublime as the default editor for git commit messages etc. (Similar to TextMate's "mate"command, and MacVim's "mvim"command.)

(Of course, I can use /Applications/Sublime\ Text\ X/Contents/MacOS/Sublime\ Text\ X, but that is a bit cumbersome)

Would also love to be able to set my EDITOR environment variable to point to Sublime Text 2, so that it would integrate into command line tool usage: for example, run "svn commit" and have Sublime Text 2 pop open for me to type in a commit message.