• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

using dircolors in linux

Special K

Diamond Member
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?
 
Back
Top