From: Bruce Stephens <stephens@math.ruu.nl>
To: shr@s3.com (Scott RoLanD)
Cc: zsh-users@math.gatech.edu
Subject: Re: Colors
Date: Fri, 20 Sep 1996 11:29:49 +0200 (MET DST) [thread overview]
Message-ID: <199609200929.LAA06712@cantecler.math.ruu.nl> (raw)
In-Reply-To: <9609200203.AA10566@s3> from "Scott RoLanD" at Sep 19, 96 07:03:41 pm
> 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<tab>
>
> 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')%} "
next prev parent reply other threads:[~1996-09-20 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-20 2:03 Colors Scott RoLanD
1996-09-20 9:29 ` Bruce Stephens [this message]
1996-09-20 11:24 ` [Q] how to set stty on HPUX 10.01 with zsh 3.0.0 Aubert Pierre
1996-09-20 12:57 ` Zefram
1996-09-20 10:03 ` Colors Richard Lister
1996-09-20 15:23 ` Colors Greg J. Badros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199609200929.LAA06712@cantecler.math.ruu.nl \
--to=stephens@math.ruu.nl \
--cc=shr@s3.com \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).