using dircolors in linux

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
The dircolors command is supposed to allow you to customize the way files, directories, etc. are displayed using the 'ls --color' command. I copied the default /etc/DIR_COLORS file to my home directory, renamed it to .dir_colors, and edited it to suit my preferences. However, after running the following command:

dircolors /home/user1/.dir_colors

nothing changes - all of my colors are still the defaults specified in the /etc/DIR_COLORS file. I also added it to my .cshrc as:

eval 'dircolors /home/user1/.dircolors'

The statement appears to evaluate if I run 'source .cshrc', but the colors still don't change from the default values specified in the /etc/DIR_COLORS file.

What am I doing wrong here?