From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17870 invoked from network); 8 Jun 2000 18:44:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Jun 2000 18:44:50 -0000 Received: (qmail 1823 invoked by alias); 8 Jun 2000 18:44:32 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3138 Received: (qmail 1816 invoked from network); 8 Jun 2000 18:44:30 -0000 X-Authentication-Warning: godzilla.phydeaux.org: fletch set sender to fletch@phydeaux.org using -f Sender: fletch@phydeaux.org To: "Bart Schaefer" Cc: zsh-users@sunsite.auc.dk Subject: Re: wish for a colored completion system References: <200006081041.MAA20210@beta.informatik.hu-berlin.de> <20000608144407.A2039@linux-ws.kg-hittfeld.local> <20000608163130.A2637@linux-ws.kg-hittfeld.local> <200006081449.QAA21570@beta.informatik.hu-berlin.de> <20000608165051.B3286@picard.franken.de> <20000608171137.C2997@linux-ws.kg-hittfeld.local> <20000608173254.D2997@linux-ws.kg-hittfeld.local> <0FVU005MNF7Q6N@la-la.cambridgesiliconradio.com> <1000608173740.ZM16747@candle.brasslantern.com> From: Fletch Organization: Very Little Date: 08 Jun 2000 14:44:18 -0400 In-Reply-To: "Bart Schaefer"'s message of "Thu, 8 Jun 2000 17:37:40 +0000" Message-ID: User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Bart" == Bart Schaefer writes: [...] Bart> Specifically, type the thing you want to complete after, Bart> then hit . Bart> For some reason I was thinking the tags only showed up in Bart> the verbose output, but it's the _styles_ that you can get Bart> with . OK, I'm trying to colourize hostnames for ssh. So I type: ssh l And I get: tags in context :completion::complete:ssh:: argument-1 options (_arguments _ssh _ssh) tags in context :completion::complete:ssh:argument-1: hosts users (_alternative _ssh _ssh) hosts (_hosts _combination _ssh_hosts _alternative _ssh _ssh) users (_users _combination _ssh_users _alternative _ssh _ssh) What tag should I use? I've tried the following with no success: zstyle ':completion:*:*:ssh:*:hosts' list-colors '=lemur*=01;32' zstyle ':completion::complete:ssh:*:hosts' list-colors '=lemur*=01;32' zstyle '*:hosts' list-colors '=lemur*=01;32' If I set something in ':completion:*' list-colors it works, but I'm betting I'm just not understanding how styles are being matched. -- Fletch | "If you find my answers frightening, __`'/| fletch@phydeaux.org | Vincent, you should cease askin' \ o.O' 678 443-6239(w) | scary questions." -- Jules =(___)= | U