Red Hat Bugzilla – Bug 818069
suggestion for DIR_COLORS - allow "include" in the dircolors
Last modified: 2013-03-11 22:27:33 EDT
Description of problem:
Per Bug 817218 - htm files not in DIR_COLORS, I am submitting this "sug" at the suggestion of Ondrej Vasik
It would be great if the user local version of ~/.dir_colors had the ability to source /etc/DIR_COLORS so that a user could make changes to ~/etc/DIR_COLORS without having to give up the evolution of /etc/DIR_COLORS (either via yum or a new Fedora release)
It could allow a user to prepend any changes that he/she wishes to make over what is in /etc/DIR_COLORS and allow /etc/DIR_COLORS to handle the rest. I would think the optimal behavior would be to process ~/.dir_colors and, if a match is found, use it; otherwise, source /etc/DIR_COLORS to see what the system wants to do.
It can't depend on bash as the user might be using a different shell (I am thinking tschrc as that is the example I am seeing on my machine)
I would also like to see a html color code included in the file so, for example, "brown" had a #xxyyzz code for the 0x00-0xff for the rgb ("brown" is mighty subjective (smile)).
If Ondrej or others think I need to clarify this, please let me know
Version-Release number of selected component (if applicable):
F16 is where I discovered 817218
Steps to Reproduce:
Thanks for the report; a patch to handle "INCLUDE file" in init files is now in rawhide.
Thank you. Look forward to testing once its the official release