Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#479576: incorrect interpretation of LS_COLORS link=target by compsys



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