Links:
1. http://blog.taylormcgann.com/2012/06/13/customize-your-shell-command-prompt/
2. http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/

Essence:
add this to .bash_profile:
export PS1=”\[\033[1;37m\]\h\[\033[0m\] \[\033[1;92m\]\u\[\033[0m\]:\[\033[1;36m\]\W\[\033[0m\]$ ”

 

Advertisements