Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: wish for a colored completion system
- X-seq: zsh-users 3140
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Fletch <fletch@xxxxxxxxxxxx>
- Subject: Re: wish for a colored completion system
- Date: Thu, 8 Jun 2000 13:07:57 -0700
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <m2bt1c0xoe.fsf@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200006081041.MAA20210@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000608144407.A2039@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20000608163130.A2637@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200006081449.QAA21570@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <no.id> <20000608165051.B3286@xxxxxxxxxxxxxxxxx> <20000608171137.C2997@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20000608173254.D2997@xxxxxxxxxxxxxxxxxxxxxxxxxx> <0FVU005MNF7Q6N@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1000608173740.ZM16747@xxxxxxxxxxxxxxxxxxxxxxx> <m2itvk108t.fsf@xxxxxxxxxxxxxxxxxxxxx> <000608122524.ZM16857@xxxxxxxxxxxxxxxxxxxxxxx> <m2bt1c0xoe.fsf@xxxxxxxxxxxxxxxxxxxxx>
On Jun 8, 3:39pm, Fletch wrote:
>
> If I add '=lemur*=01;32' to ':completion:*' list-colors it
> works fine (ssh l<C-d> produces three highighted lemur* and plain
> localhost and lp).
Aha! You have host names and user names listed simultaneously.
Add this:
zstyle ':completion:*' group-name ''
That will make two sub-lists, one of host names and one of user names,
and then you'll get the colors in the host names.
I'm not sure why ':completion:*:ssh:*' doesn't work for the combined
listing; perhaps it's a bug. Sven?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author