/etc/profile

# Aliases y exports
export GREP_COLOR=31
alias ls='ls --co'
alias grep='grep --colour=auto'

# Prompt
if [ `/usr/bin/whoami` = 'root' ]
then
   # Do not set PS1 for dumb terminals
   if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]
   then
      export PS1="[e[31;1m]ue[32;1m]@[e[34;1m]h[e[32;1m] 
      W > [e[0m]"
   fi
else
   # Do not set PS1 for dumb terminals
   if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]
   then
      export PS1="[e[30;1m]ue[32;1m]@[e[34;1m]h[e[32;1m] 
      W > [e[0m]"
   fi
fi

About the author

Óscar
has doubledaddy super powers, father of Hugo and Nico, husband of Marta, *nix user, Djangonaut and open source passionate.