stole this from http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html