[arch-general] Colored Output

Carlos Williams carloswill at gmail.com
Thu Feb 4 11:41:28 EST 2010


I noticed that when I login to my new Arch server & attempt to use
commands like 'ls' or 'ls -l', I have no color. It's just white text
so it's hard to visually differentiate the difference between files
and directories.

I did read the Wiki below which advises me to modify my ~/.bashrc
which comes from /etc/skel/.bashrc however when I am logged in as
root, I want to have this colored output feature. I checked and my
/root directory has no .bashrc file. When I attempt to create one &
add the parameters I have in my ~/.bashrc, I then log out and log back
in as root but still have no color. How do I make this system wide?
When I modify my regular user's .bashrc file, I do get my desired
color output but I can't figure out how to achieve this for 'root'.

http://wiki.archlinux.org/index.php/Color_Bash_Prompt


More information about the arch-general mailing list