From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19452 invoked from network); 5 Jul 2000 04:52:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jul 2000 04:52:48 -0000 Received: (qmail 19898 invoked by alias); 5 Jul 2000 04:52:32 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3247 Received: (qmail 19891 invoked from network); 5 Jul 2000 04:52:30 -0000 From: "Bart Schaefer" Message-Id: <1000705045217.ZM27149@candle.brasslantern.com> Date: Wed, 5 Jul 2000 04:52:17 +0000 In-Reply-To: <0FX6000JJO1SNR@la-la.cambridgesiliconradio.com> Comments: In reply to Peter Stephenson "Matthias Kopfermann: Re: coloring of --help completion possible?" (Jul 4, 6:17pm) References: <0FX6000JJO1SNR@la-la.cambridgesiliconradio.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.auc.dk (Zsh users list) Subject: Re: Matthias Kopfermann: Re: coloring of --help completion possible? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 4, 6:17pm, Peter Stephenson wrote: } } I'm sure Someone knows about this. I guess I'll try to Be Someone ... } ------- Forwarded Message } From: Matthias Kopfermann } } but when i used } } zstyle '*:options' list-colors '=l*=34:=v*=35' } } I have not been any more successful. What other styles do you have defined? For example, zstyle ':completion:*' list-colors ... is considered "more specific" than zstyle '*:options' list-colors ... so the latter style will never be used if the former is defined. Arguably this is backwards and the test for "more specific" should be done from right to left, but somebody can probably come up with an example to the contrary. A second problem is that `l*' and `v*' won't match the name of any option. Options all start with `-', and only options that start with `--' are completed by _use_lo, so you probably meant to say zstyle '*:options' list-colors '=--l*=34:=--v*=35' Do either of those answers fix things up? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net