From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8086 invoked from network); 15 Jul 2004 03:28:23 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 15 Jul 2004 03:28:23 -0000 Received: (qmail 11199 invoked from network); 15 Jul 2004 03:32:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Jul 2004 03:32:44 -0000 Received: (qmail 29127 invoked by alias); 15 Jul 2004 03:27:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7694 Received: (qmail 29117 invoked from network); 15 Jul 2004 03:27:36 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 15 Jul 2004 03:27:36 -0000 Received: (qmail 10513 invoked from network); 15 Jul 2004 03:32:37 -0000 Received: from unknown (HELO moonbase.zanshin.com) (167.160.213.139) by a.mx.sunsite.dk with SMTP; 15 Jul 2004 03:32:24 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i6F3RJRr032353 for ; Wed, 14 Jul 2004 20:27:20 -0700 Date: Wed, 14 Jul 2004 20:27:19 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: Zsh Users Subject: Re: Coloring completions In-Reply-To: <20040714112143.GA6811@DervishD> Message-ID: References: <20040714112143.GA6811@DervishD> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On Wed, 14 Jul 2004, DervishD wrote: > I'm playing with compsys, and I don't understand what happens > with coloring. [...] > when I hit 'TAB' (which currently is bound to 'expand-or-complete'), the > completions appear colored, and that's ok because I have zsh/complist [...] > when I hit '^O', depending on the first word only dirs or all files > are listed, but they are listed without coloring. I'm not able to reproduce your problem. I get coloring in both cases. Are you _sure_ zsh/complist is loaded? Are you sure you have ZLS_COLORS set properly? > I thought coloring was automatic as long as zsh/complist was loaded. It is. > If it is not long, boring or off-topic: could anyone explain me > how the shell functions given with compsys do the coloring The shell functions in compsys don't do anything magical. They just read a value from a style and assign that to ZLS_COLORS, then restore the old ZLS_COLORS value after finishing.