Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Color in completions
- X-seq: zsh-users 21215
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Color in completions
- Date: Sun, 31 Jan 2016 19:52:45 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/TC/wToBcKiQ9NtAUdbRVJLZq1A/MWltUOA+kkGl+Ng=; b=wM+fRJJ5PQykE2+LIaYTiwpWzx6lgBybx/OVPaw1e28rwOiIE1iEqd+XEfoziP/9C/ R6IS5IA83VAGkGdjZw/B8gf9NM8Y/WYrvaQ2S6+j3p/nVnaQC5Vky2WPmsI8ZfwYY/bR I4hfqGoB9hU5sbJWWDIVnWQesXj1jylIsOLoPF7dGCnkoM64L9iMfOsDYLdX0wbu5WiK KnkcTULKw59Tzq6F0xYujfT9p1Rc5nBzzSDRvEkvjclCCVUT4uBNNLYRAtMdEb2iRZSq NlO/jBqOSzPc8nVR7KkZTCmuziOFUX9oPZZsT1nLGh7uub1aFa4Kc8qkEx5k6nk+Egso refw==
- In-reply-to: <160131093929.ZM11508@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVDSZJ2ZijK1siwRA-8AV0H4ROeEyS26i5DWeFJT6SO24w@mail.gmail.com> <160129144546.ZM24675@torch.brasslantern.com> <CAKc7PVAraFjBxoMhf=EpjPW+GnynDqCChKvzowt_g39C5Hibgg@mail.gmail.com> <160131093929.ZM11508@torch.brasslantern.com>
On 31 January 2016 at 18:39, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The fields are always in the order
> :completion:FUNCTION:COMPLETER:COMMAND:ARGUMENT:TAG.
>
> So in your zstyle above --
>
> Lookup context Your pattern
> -------------- ------------
> completion completion
> FUNCTION:COMPLETER *
> COMMAND zplugin
> ARGUMENT *
> TAG argument-rest
>
> I would have expected "argument-rest" to match the ARGUMENT position
> rather than the TAG position, so:
>
> zstyle ':completion:*:zplugin:argument-rest:*' list-colors \
> '=(#b)(*)/(*)==1;35=1;33'
This works
> What does ctl+x h (_complete_help) show if you use that instead of tab?
tags in context :completion::complete:zplugin::
argument-rest (_arguments _zplugin)
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author