Create a symbolic link on mac to sublime text 2, so you can use it at command prompt without editing your bash file… ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl now at terminal you can open folders right up. subl /www/myproject