While sarbottam's answer is the proper way to do it, if you're lazy like me, and use subl to just do an subl ., you can add an alias to your ~/.bash_profile
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
and either open a new terminal window or run the .bash_profile