Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Color in completions
On 1 February 2016 at 15:53, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 1, 8:49am, Sebastian Gniazdowski wrote:
> } Subject: Re: Color in completions
> }
> } On 31 January 2016 at 19:52, Sebastian Gniazdowski
> } <sgniazdowski@xxxxxxxxx> wrote:
> } > tags in context :completion::complete:zplugin::
> } > argument-rest (_arguments _zplugin)
> }
> } That was after "zplg unload". After "zplg" it's:
> }
> } tags in context :completion::complete:zplugin::
> } argument-1 (_arguments _zplugin)
> } commands (_describe _zplugin)
>
> Your best bet then is just to use
>
> zstyle ':completion:*:zplugin:*' list-colors ...
I already had (#mark):
zstyle ':completion:*:zplugin:*:argument-rest' list-colors
'=(#b)(*)/(*)==1;35=1;33'
Comparing that to your proposition:
zstyle ':completion:*:zplugin:*' list-colors ...
zstyle ':completion:*:zplugin:*:argument-rest' list-colors ...
it seems that the zstyle #mark is correct, it just matches more – also
the "argument-rest", which is expected, because plugin names may
appear after a command
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author