From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id TAA14719 for ; Fri, 20 Sep 1996 19:42:31 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id FAA27579; Fri, 20 Sep 1996 05:33:44 -0400 (EDT) Resent-Date: Fri, 20 Sep 1996 05:32:17 -0400 (EDT) From: Bruce Stephens Message-ID: <199609200929.LAA06712@cantecler.math.ruu.nl> Subject: Re: Colors To: shr@s3.com (Scott RoLanD) Date: Fri, 20 Sep 1996 11:29:49 +0200 (MET DST) Cc: zsh-users@math.gatech.edu In-Reply-To: <9609200203.AA10566@s3> from "Scott RoLanD" at Sep 19, 96 07:03:41 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"phFJR2.0.2k6.XIcGo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/414 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > I just started using color-ls with a color-xterm last month, and I'm > addicted to it now. > > But now when I use tab compeltion in zsh for cd and ls it feels weak. > > What I'd like is for: > less d > > to look exactly the same as: > ls -d d* > > Is it in theory possible to do the above with compctl? If not how > might we add it? Not with compctl, but somebody has a patch to do it. It was rejected for the standard release in favour of (one day) dynamically loadable extensions to do this kind of thing. I don't remember the URL for the patches, unfortunately. I'm sure somebody can, or you could search the mail archives. > Zsh currently supports making the prompts bold, etc. Has anyone played > with trying to give them certain colors? Sure. Look at the %{..%} codes. For example, I have PS1="%{$(print -n '\e[46;34;1m')%}%@, %D{%A %d %B} %m%#%{$(print -n '\e[m')%} "