kerkerj
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)