I noticed that when I su to root, I lose all my colors in gnome terminal. I was wondering if there is a way to enable this as root and not have everything show up as white as it can be confusing not knowing if it's a file or directory. The colors just help me I guess.
I edited my /root/bashrc to look like so and everything is still white. What am I missing?
My bash.rc file:
Code:
# ~/.bashrc: executed by bash(1) for non-login shells.
export PS1='\h:\w\$ '
umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
My terminal