Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Proposed change to show-ambiguity context
- X-seq: zsh-workers 35200
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Proposed change to show-ambiguity context
- Date: Tue, 19 May 2015 01:51:56 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=HwmO8THNYc8vN7NvQto9AoBTv+Q=; b=MMmZ0S Po573ObEE4qXzchJ30RDYe0z1hx5nDfH3j5xcZ0PF5ah5XP7mE1Privr3qerlXpn 7ei4r3K8LFu5lKnCBciqeaS+kLNVuuzxq/EHphJ2yYPQgoTW6ZDT3R4dE4OBc9gI tiSZkgAR7kVc/dlCLltf4t+VuVAvUj12SnDVM=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=HwmO8THNYc8vN7NvQto9AoBTv+Q=; b=WfTs4 2iUWw8xruwqZqoaCdgtvKXTdBrpfietijig3vAf2VYbtyrTVHIZ9yQoM1cwBQKDC wEnFmhQQBm8EABKtSbqXatmbIrCQ8dVvZaeSb1ulV6Ew3v+ifBbWFBROx1HuN1rJ O0b/C1wXtWkA1YuKkYy/WfHdnStudj086/JV7M=
- In-reply-to: <150517210336.ZM857@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <150516223948.ZM5746@torch.brasslantern.com> <20150517234530.GH2214@tarsus.local2> <150517210336.ZM857@torch.brasslantern.com>
Bart Schaefer wrote on Sun, May 17, 2015 at 21:03:36 -0700:
> On May 17, 11:45pm, Daniel Shahaf wrote:
> }
> } I always wondered list-colors and LS_COLORS were either/or, rather than
> } overlay list-colors on top of LS_COLORS - that is: have the already-typed
> } part of the filename in color X, the next-letter-to-be-typed in color Y,
> } and the remainder of the filename colored according to LS_COLORS. (where
> } X and Y are specified by list-colors/show-ambiguity)
>
> Because list-colors and show-ambiguity, like most of the "menu" styles,
> are just alternate interfaces to the base functionality from complist. as
> implemented by LS_COLORS, et al.
>
So you're saying, it's this way because down in ZLS_COLORS, the "pattern
matching" form is filetype-agnostic and has precedence over the
"per-filetype" form. Thanks for the pointer.
P.S. As to your actual question in this thread, I have no opinion, as
I don't use show-ambiguity, but list-colors directly, and AIUI the patch
doesn't change the semantics of list-colors.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author