[SublimeText2] use command to call sublime text2
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
in terminal:
$ sublime filename
$ sublime . (open the directory)
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
in terminal:
$ sublime filename
$ sublime . (open the directory)