Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: show-ambiguity style
- X-seq: zsh-users 20152
- From: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: show-ambiguity style
- Date: Mon, 13 Apr 2015 13:00:53 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=52NKvxffhgYgmdjxXxlP5VFRJxmGNp0t5BojBhRYPP0=; b=Y75a/6YOkaEw28LgZyx+X2o88SDG/DpSvUKYzwW/gWgIYON8XTPJI/3N2QV8lH0CwX GqZH7RwvltCndi5d1dNnVOAzs4KiFenlfmk3UnWpyd4bW1kCow3yvA+TNDKLuU22syRR s73+3N6aPNzMdFCpl+MEa9Z0on4ka5ZMKEL7qiSz8Hn3xeyppJUkGRje1W2k2FM8Lvw1 F/sU79Ip+CYCc88NdJhkqzHK5Gs2p6XRpOtw0KNf5lfHnMFwuk205DtAqLgvnhop72pB 4wzU0QsjIULeb0G744R2SB90UrzWBfElByJH9pU0Wt7xWH+sS+321IQOfp6NhvksDEYU 9qTA==
- In-reply-to: <mgemjb$9bk$1@ger.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <mg9fo4$d3$1@ger.gmane.org> <E1YgyLH-00089n-0P@smtp.tt-solutions.com> <150411130249.ZM27498@torch.brasslantern.com> <552A67C4.1080903@thregr.org> <150412115830.ZM21859@torch.brasslantern.com> <mgemjb$9bk$1@ger.gmane.org>
This is interesting. I had also missed it.
I ran into something that perhaps is impossible to solve. If I use the
following:
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' show-ambiguity $color[bg-red]
I only get EITHER the file type coloring or the ambiguity indication,
depending on the order of those two lines.
In an ideal world, I would like to have the file type coloring, AND then
something that indicates where the ambiguity starts, but this is perhaps
not possible to achieve?
On Sun, Apr 12, 2015 at 11:03 PM, Yuri D'Elia <wavexx@xxxxxxxxxx> wrote:
> On 04/12/2015 08:58 PM, Bart Schaefer wrote:
> > I don't know that it makes any difference to efficiency, but to have
> > the ambiguity disply overlaid on top of the other coloring would require
> > changes to the complist internals.
>
> My guess would be that it would probably end up being simpler and more
> robust compared to the current approach.
>
> Although I won't have time to look at this anytime soon.
> Any takers?
>
> > The main thing this is telling me is that we need more examples of how
> > to set list-colors.
>
> I'll put up some examples later next week.
>
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author