From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14294 invoked from network); 10 Jun 2000 03:34:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Jun 2000 03:34:22 -0000 Received: (qmail 14197 invoked by alias); 10 Jun 2000 03:34:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11846 Received: (qmail 14190 invoked from network); 10 Jun 2000 03:34:15 -0000 From: "Bart Schaefer" Message-Id: <1000610033409.ZM21737@candle.brasslantern.com> Date: Sat, 10 Jun 2000 03:34:09 +0000 In-Reply-To: <200006090724.JAA13449@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: wish for a colored completion system" (Jun 9, 9:24am) References: <200006090724.JAA13449@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: wish for a colored completion system MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 9, 9:24am, Sven Wischnowsky wrote: } Subject: Re: wish for a colored completion system } } Bart Schaefer wrote: } } > I'm not sure why ':completion:*:ssh:*' doesn't work for the combined } > listing; perhaps it's a bug. Sven? } } Hm, yes, the description in the docs make it sound as if it should } work. The problem is that without separate groups there is no way for } the completion code to find out that with } } zstyle ':completion:*:ssh:*:hosts' list-colors '=a*=31' } zstyle ':completion:*:ssh:*:users' list-colors '=b*=32' } } hosts starting with `b' should be coloured with `32'. We would need a } per-match colouring for that and that's too expensive. I think you misunderstood my question. I didn't ask why zstyle ':completion:*:ssh:*:hosts' list-colors '=a*=31' doesn't work. I asked why zstyle ':completion:*:ssh:*' list-colors '=a*=31' doesn't work. There isn't any group involved there at all; I don't ask for the hosts to be colored separately from the users; I just ask for anything that happens to be there (and that begins with `a') to work. But it doesn't, unless I set group-name ''. -- 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