I have followed this super user post to get sublime command line subl command to work in terminal to no avail.
I have the following bash_profile
export PATH="/usr/local/mysql/bin:$PATH"
export PATH=$PATH:~/bin
and my $PATH outputs
/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
I also created a sym-link with the following code
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
However subl command returns command not found