Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with context specification
- X-seq: zsh-users 24654
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Re: problem with context specification
- Date: Mon, 13 Jan 2020 16:56:16 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200113165619euoutp014967e198e048819d3378c0dda9732f60~pgKJUa8Vn0926309263euoutp01C
- In-reply-to: <CAP+y1xCU8W9uhsx3Xz+3J-8MVMT8Ve69M2EFByd5ZQONKaDY=g@mail.gmail.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>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20200113164758eucas1p17ea364450eec705f49edaa8fb69fa65b@eucas1p1.samsung.com> <CAP+y1xCU8W9uhsx3Xz+3J-8MVMT8Ve69M2EFByd5ZQONKaDY=g@mail.gmail.com>
On Mon, 2020-01-13 at 17:46 +0100, Pier Paolo Grassi wrote:
> For the episodes command I would like to override this style, and set it to:
>
> zstyle ':completion:*:*:episodes:*:*' matcher-list 'm:{a-z}={A-Za-z} l:|=*
> r:|=*'
>
> but this doesn't seem to match when i try completion pressing tab after the
> episodes command.
I've a feeling matcher-list is only run in a very general context, so
updating per command doesn't work, and you need to use the matcher style
for more specific cases. However, I may not be remembering the two
styles where this applies correctly, and the documentation doesn't
explicitly say where the two work and don't work.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author