Red Hat Bugzilla – Bug 12634
~/.dir_colors does not work (for me)
Last modified: 2008-05-01 11:37:56 EDT
I copied /etc/DIR_COLORS into ~/.dir_colors, modified it, login, but it
has no effect.
I could not find any place where .dir_colors is evaluated in the
I had to add
if [ -f ~/.dir_colors ]; then
eval `dircolors --sh ~/.dir_colors`
into .bash_profile to make it work
Maybe the right thing would be to do it in /etc/profile.d/colorsls.sh
*** Bug 13465 has been marked as a duplicate of this bug. ***
fixed in rawhide.
It seems /etc/DIR_COLORS talks about ~/.dir_colors, not ~/.dircolors which was implemented.
Please correct the other.
This was fixed in 4.1-2