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

Re: Complete with *part* not part*



On Feb 12,  5:11pm, Sebastian Gniazdowski wrote:
} Subject: 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.

The name is "matcher" when it's a specific tag, "matcher-list" is for
the global setting.  So this should theoretically do it:

zstyle ':completion:*:zplugin:*:argument-rest' matcher 'r:|=** l:|=*'



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