Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: ZLS_COLORS/ZLS_COLOURS consistency in _setup
- X-seq: zsh-workers 14525
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: ZLS_COLORS/ZLS_COLOURS consistency in _setup
- Date: Tue, 29 May 2001 11:47:41 +0200 (MET DST)
- In-reply-to: <20010528115530.A17073@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Clint Adams wrote:
> This attempts to follow the course of action outlined as option #1
> in the message included after the patch, though I agree that clobbering
> those parameters is counterintuitive.
Hm. I'm almost constantly amazed by all the things we people consider
`intuitive' these days ;-)
But anyway... there is no way around this if we want to be able to
define context-specific colors. Which we want.
> I wonder why ZLS_COLORS and ZLS_COLOURS aren't linked together
> as special parameters by zsh/complist.
Probably mostly simplicity in the C-code. These two aren't special in
any way. The code just looks them up.
> I also think the precedence
> of those two should be documented.
Hm, they are mentioned in the order in which they are looked up[1].
Bye
Sven
[1] So `COLORS' comes first. And that from me. I would have guessed
it were the other way round. How counterintuitive.
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author