Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Complete with *part* not part*



On 12 February 2016 at 17:01, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Which you do like this:
>
>     zstyle ':completion:*' matcher-list 'r:|=** l:|=*'
>

This works.

Want to have this only for "zplugin" and only for its sub-command.
Tried various combinations and none work. Already have working:

zstyle ':completion:*:zplugin:*:argument-rest' list-colors
'=(#b)(*)/(*)==1;35=1;33'

But doing the same or trying more "::" or ":*:" doesn't yield correct
behavior. Ctrl-x h is:

% zplugin load <^x h>
tags in context :completion::complete:zplugin::
    argument-rest  (_arguments _zplugin)

I'm using "_arguments" not "_arguments -C".

Anyway thanks, there for sure is some correct "::" ":*:" sequence for
this to work...

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author