Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Coloring completions
- X-seq: zsh-users 7694
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Coloring completions
- Date: Wed, 14 Jul 2004 20:27:19 -0700 (PDT)
- In-reply-to: <20040714112143.GA6811@DervishD>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040714112143.GA6811@DervishD>
- Reply-to: zsh-users@xxxxxxxxxx
On Wed, 14 Jul 2004, DervishD wrote:
> I'm playing with compsys, and I don't understand what happens
> with coloring.
[...]
> when I hit 'TAB' (which currently is bound to 'expand-or-complete'), the
> completions appear colored, and that's ok because I have zsh/complist
[...]
> when I hit '^O', depending on the first word only dirs or all files
> are listed, but they are listed without coloring.
I'm not able to reproduce your problem. I get coloring in both cases.
Are you _sure_ zsh/complist is loaded? Are you sure you have ZLS_COLORS
set properly?
> I thought coloring was automatic as long as zsh/complist was loaded.
It is.
> If it is not long, boring or off-topic: could anyone explain me
> how the shell functions given with compsys do the coloring
The shell functions in compsys don't do anything magical. They just read
a value from a style and assign that to ZLS_COLORS, then restore the old
ZLS_COLORS value after finishing.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author