Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Explain my matcher-list style to me :-)
- X-seq: zsh-users 21076
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Explain my matcher-list style to me :-)
- Date: Wed, 9 Dec 2015 13:04:27 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=UpeEEisn4piwqFRvLw6w4h7p7pPNZ+kdfhF1uroVe5s=; b=oDPN15qvkmIR9qpw4ukYsbsE3xTkvEwVQWD2QIO2OCGlFXKQvPdJr3OEYHHGdZ6evV zphSKTW9h4H9ZGQ/IIsOPeBN3hkVqxmVxnRX+3P2+YzqcSlKerHUJJOw7C1Q/w0gXrRD P/lY4swoNYRARogv63gExbARj4cwUSXYQxbFfk6NYt1H+bQGFKA+/i/0HqhDQyMBzBaO MSznLPmwBpZqG0YIYOKktwbtVuWm/f/wQxcmLztWAd/M86NVC+WBTbK7wdm/hSNYUiv1 SsKS1sZ6i10S7bEfTmbjzAx3zfpn81/AgeivAL0diHmVfKNJNeY98vh4se29WGDwpC+i GbnA==
- In-reply-to: <20151209095253.09b4d98d@pwslap01u.europe.root.pri>
- 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: <151208143150.ZM24604@torch.brasslantern.com> <20151209095253.09b4d98d@pwslap01u.europe.root.pri>
On Dec 9, 9:52am, Peter Stephenson wrote:
}
} So if you type foo then the effect of l:|=* means it will match *foo
} against the possibilities, together with the other modifications.
OK, that does seem to be it. With
zstyle ':completion:*' matcher-list 'r:|[-._,]=** r:|=**'
I get no matches for
% ls g.<TAB>
But with
zstyle ':completion:*' matcher-list 'r:|[-._,]=** r:|=** l:|=*'
I get
% ls g.<TAB>
% ls config.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author