Re: Not sure how to best reply re: dir_colors situation
From:
Pádraig Brady
Subject:
Re: Not sure how to best reply re: dir_colors situation
Date:
Thu, 11 Jun 2009 16:17:50 +0100
User-agent:
Thunderbird 2.0.0.6 (X11/20071008)
Matthew Woehlke wrote:
> Pádraig Brady wrote:
>> Hmm, it's worth adding a test at least to demonstrate that
>> file permissions take precedence over hardlink coloring
>> I.E. multi hardlinked png and exectuable files will be colored
>> inconsistently.
>
> If I can interject a question here... I hope I will remember to turn
> this back on when that becomes necessary, as I happen to think it is
> useful. I am wondering, however, is it, or will it be possible to use MH
> to assign a background color, and have the foreground color come from
> whatever else would set one? It seems this would be the most useful.
I agree it would be useful to do but we don't support that
unfortunately and can't really as existing user colour settings
could be setting backgrounds.
> This makes me think of something else, is 'ls' able to use 256- and
> 24-bit-color escape sequences?
Yep, it will just replace what ever strings are present:
(seq 232 255;seq 254 -1 233) |
while read c; do
LS_COLORS="ex=48;5;$c" ls --color /bin/ls
done
cheers,
Pádraig.