First of all, I'd check to make sure you're using bash. You might have another shell by default.
Also, I think you should add in
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql73/lib
at the end instead of what you have currently.