Here is what I have in my /root/.bashrc:
code:--------------------------------------------------------------------------------
You may uncomment the following lines if you want `ls’ to be colorized:
export LS_OPTIONS=‘–color=auto -h’
eval dircolors
alias ls=‘ls $LS_OPTIONS’
alias ll=‘ls $LS_OPTIONS -l’
alias l=‘ls $LS_OPTIONS -lA’
You will also want to check in your /root/.profile for this:
code:--------------------------------------------------------------------------------
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
To make sure the .bashrc is being sourced when you go to root.