fix 3 issues in .bashrc.

* fix $TERM to support 256-color mode for GNOME Terminal
* write _update_ps1 to get more advanced prompt
* redirect standard error of 'which' to silent error messages