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?
Pingback: Use Shell Environment Variable LS_COLORS to Change Directory Listing Colors of ls –color
Pingback: Unmanaged Hosting Server Installation & Initial Configuration for Dummies