From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 625 invoked from network); 6 May 2008 14:59:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 May 2008 14:59:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59264 invoked from network); 6 May 2008 14:59:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 May 2008 14:59:05 -0000 Received: (qmail 21198 invoked by alias); 6 May 2008 14:59:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24944 Received: (qmail 21168 invoked from network); 6 May 2008 14:59:01 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 May 2008 14:59:01 -0000 Received: from cork.scru.org (cork.scru.org [80.68.89.82]) by bifrost.dotsrc.org (Postfix) with ESMTP id 07C6480ED172 for ; Tue, 6 May 2008 16:58:57 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id 7567E18129; Tue, 6 May 2008 15:58:55 +0100 (BST) Date: Tue, 6 May 2008 15:58:55 +0100 From: Clint Adams To: zsh-workers@sunsite.dk Cc: martin f krafft , 479576@bugs.debian.org Subject: Re: Bug#479576: incorrect interpretation of LS_COLORS link=target by compsys Message-ID: <20080506145855.GA31177@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, martin f krafft , 479576@bugs.debian.org References: <20080505145016.GA16248@lapse.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080505145016.GA16248@lapse.madduck.net> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/7040/Tue May 6 03:52:15 2008 on bifrost X-Virus-Status: Clean 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 > a argetmb@ Anyone up for special-casing "target" in complist?