Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Complete with *part* not part*
- X-seq: zsh-users 21277
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Complete with *part* not part*
- Date: Fri, 12 Feb 2016 18:29:54 +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=oaxt3Dt+U8cl+zFzSf802yTbXj9cgZayIYpLIwOJ5tU=; b=CX/nyV2iKSWHTx5AfNcvymHYoaJGFqARlL6wY9i8GIYEiPewpJNxXyBk3KIKb4Wd4f 1GWAbUvJxWJcEevv6VoHpNCj40YL9O+f7L9oPc2DkACk2Qa3VW61MBewXAvxdlt9CyKu f0WNpH5rUtvDCEkOqlzXqAg3UCfHeIna+ptk+eJCucKuwLLds1IICXQ8LE9ahhl/jHHS cMmps8cReAC0GZyX1VGUZ+6xJCQfc5LqcPs/D9YbdWy4peo56ghA6qthZ54OaSB6YbLz O+BHd8Tp6raL0gXfE7ueV1AKG5sonWCmyBui7j+nd6vuUlCLanWdBLDfc+O/rBYp0AFV 4N4Q==
- In-reply-to: <160212091607.ZM14469@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: <CAKc7PVCbo2jTacSQC9VZHATgH+qoWYSgTvFyHA1p-7Uz+fj7SA@mail.gmail.com> <CAHYJk3T-_iLDF9FJ6ypRzKBe=-KeAySkA53FbXUT53yaobYAww@mail.gmail.com> <160212080127.ZM14265@torch.brasslantern.com> <CAKc7PVD7OsvcJFNm4y=bJZNf+6s5bj1PT8PMQgwF-9WBRddyCg@mail.gmail.com> <160212091607.ZM14469@torch.brasslantern.com>
On 12 February 2016 at 18:16, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 12, 5:11pm, Sebastian Gniazdowski wrote:
> } 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:|=*'
Looked at the dtrace output and found this to work:
zstyle ':completion::complete:zplugin::plugins' matcher 'r:|=** l:|=*'
Fine thing the dtrace, huh. I think it reveals some bugs in my
completion design. Should I be using -C for _arguments? Because there
are tests that look bad, double "argument-rest":
Zstyle -s :completion::complete:zplugin:argument-rest:argument-rest
matcher match
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author