May 30
Add the following snippet in the .profile or .bash_profile under your home directory:
export PS1='[\[\e[1;31m\]\u\[\e[0m\] - \[\e[32m\]\w\[\e[0m\]]$ '
export LS_COLORS='di=01;34'
alias ls='ls --color -l'
If you are ‘supergirl’, your Linux home directory would be located at: /home/supergirl, and the file you should add the above lines to is: /home/supergirl/.profile or /home/supergirl/.bash_profile.
What is LS_COLORS doing here?

May 30th, 2009 at 11:03 pm
[...] Colorful ls, SSH Console and Command Prompt vi code highlighting: change the default comments color from dark blue to light blue May [...]
June 1st, 2009 at 3:04 am
[...] shell environment and make the prompt ls command listings a little more colorful so it’s more [...]