Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#479576: incorrect interpretation of LS_COLORS link=target by compsys
- X-seq: zsh-workers 24944
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#479576: incorrect interpretation of LS_COLORS link=target by compsys
- Date: Tue, 6 May 2008 15:58:55 +0100
- Cc: martin f krafft <madduck@xxxxxxxxxx>, 479576@xxxxxxxxxxxxxxx
- In-reply-to: <20080505145016.GA16248@xxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, martin f krafft <madduck@xxxxxxxxxx>, 479576@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080505145016.GA16248@xxxxxxxxxxxxxxxxx>
On Mon, May 05, 2008 at 03:50:16PM +0100, martin f krafft wrote:
> zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
>
> This is a common way to get colouring of menus and lists by compsys.
> Unfortunately, it's not aware of all of the features of LS_COLORS.
> Specifically, if LS_COLORS sets ln=target, that's supposed to mean
> that the link should be dereferenced and coloured according to the
> target. zsh unfortunately somehow prepends 'argetm' to the items in
> the menu list:
>
> lapse:/tmp/cdt.EaF16274% touch a
> lapse:/tmp/cdt.EaF16274% ln -s a b
> lapse:/tmp/cdt.EaF16274% ls<tab>
> a argetmb@
Anyone up for special-casing "target" in complist?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author