coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] dircolors: consider COLORTERM sufficient for color


From: Pádraig Brady
Subject: Re: [PATCH] dircolors: consider COLORTERM sufficient for color
Date: Mon, 14 Feb 2022 23:44:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0

On 14/02/2022 23:36, Arsen Arsenović wrote:
[ Reposting since I didn't reply-all the first time; apologies ]

Your change could break this setup if there were
entries in "specific config" that weren't overridden later,
and even if they were, it would result in larger LS_COLORS env vars.
Ah, I see. I lacked a full understanding of this format so I overlooked
that, sorry.

How about the attached patch to allow matching COLORTERM
just like TERM, and set the pattern in the default config
to match against any COLORTERM value.
This also has the advantage of handling specific COLORTERM values.
This looks fine, and works on my machine.

We would have to add the default COLORTERM entry to distro config
(when supported by the installed dircolors), but that should be easy enough to 
do.
Don't distros just generally use the compiled-in default?

Well they have variants generally in /etc for 256 colors etc.
I'll handle updating the Fedora one at least.

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]