If you're using Sublime Text 2, unless you manually changed the name of the .app
file, the command should be:
alias subl="/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
Note the filename is Sublime Text 2.app
, and also note that only double quotes are needed, not double surrounding single.