From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17184 invoked from network); 8 Jun 2000 17:38:14 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Jun 2000 17:38:14 -0000 Received: (qmail 24610 invoked by alias); 8 Jun 2000 17:37:51 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3137 Received: (qmail 24602 invoked from network); 8 Jun 2000 17:37:48 -0000 From: "Bart Schaefer" Message-Id: <1000608173740.ZM16747@candle.brasslantern.com> Date: Thu, 8 Jun 2000 17:37:40 +0000 In-Reply-To: <200006081041.MAA20210@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: wish for a colored completion system" (Jun 8, 12:41pm) 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> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.auc.dk, Matthias Kopfermann Subject: Re: wish for a colored completion system MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Gee, it's hard to have these discussions when the rest of you are all seven to nine hours ahead of me. On Jun 8, 12:41pm, Sven Wischnowsky wrote: } Subject: Re: wish for a colored completion system } } Bart Schaefer wrote: } = } > The tricky bit is figuring out what string goes at the tail of the st= yle } > pattern, e.g. `zsh-options' in this case. The place to look is the } > "Standard Tags" subsection in the "Completion System Configuration" } > chapter. } = } Or hit ^Xh (control-x h) and it will tell you (the `tags'). Specifically, type the thing you want to complete after, then hit = =2E For some reason I was thinking the tags only showed up in the verbose output, but it's the _styles_ that you can get with . On Jun 8, 2:44pm, Matthias Kopfermann wrote: } } the only problem with it, it is not simple nor is it obvious :( You want simple, or you want programmable? On Jun 8, 4:31pm, Matthias Kopfermann wrote: } } Okay, I try to be not so polite: :) } Should'nt there be an easier way than that approach? That approach was designed to make it easy to use your existing GNU "ls" color options for coloring files in zsh. Easy for one thing, hard for some others. On Jun 8, 4:49pm, Sven Wischnowsky wrote: } = } It's the normal way of configuring things for the new completion } system and I definitely think colouring should be done like all other } setup for it. I think Matthias was referring to the colon-separated-list of attr=3Dval pairs where the val is a series of semicolon-seprated numbers, rather than to the entire zstyle mechanism. Though I admit contexts can look a little daunting as well. On Jun 8, 4:50pm, Thomas K=F6hler wrote: } } Well - at first, it seems not too obvious that there are predefined } names for "normal file", "directory", "symbolic link" etc, but none for= } things like "hostnames", "usernames" etc... That's just because GNU "ls" predefined the tokens for file types ahead of us, and we borrowed them. We wanted to use something less cryptic (i.e., the group names in parens) for zsh competion "types." On Jun 8, 5:11pm, Matthias Kopfermann wrote: } } i guess, my problem is that `ZLS_COLORS' reminds me too much on } `ls'. It's perhaps only a matter of getting used to it. I think you can see why it reminds you of "ls". On Jun 8, 5:32pm, Matthias Kopfermann wrote: } } So it is no design-error. It's just my difficulty to learn = } more in less time :) Dogbert once said: Information is gushing toward your brain like a firehose aimed at a teacup. Even the smartest among you has become "functionally stupid." -- = 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 = =