Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] doc: fix example for '+' in matcher-list completion style
- X-seq: zsh-workers 32271
- From: dhahler+zsh-workers@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] doc: fix example for '+' in matcher-list completion style
- Date: Fri, 17 Jan 2014 18:45:56 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hahler.de; h=	x-mailer:message-id:date:date:subject:subject:from:from:received	:received:received; s=postfix2; t=1389980754; bh=ckKnKoS3zj2uWHi	Yi4DBj4Gt9TIpcY2zbwCa8eYVjNY=; b=MbboFjK03UXgQJEwlPwi6WzaZoqBlT6	cYkueKzsHCh0NhtYwhH11VBi9S/nysskhaR5k7c4+bEjbVaVD5WVcwpDTCW2OS9f	/aWqJogbh1r0gy/Kv5gPyOosEhA+bPzljlbBLEO/SnrD9LEXXpn7aqbA5mtg+5HP	iZpy11rxyRuI=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From: Daniel Hahler <git@xxxxxxxxxx>
The example is missing the colons after `+m`.
---
 Doc/Zsh/compsys.yo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index b9038cf..6f1917d 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -2019,7 +2019,7 @@ specification is prefixed with tt(+), it is added to the existing list.
 Hence it is possible to create increasingly general specifications
 without repetition:
 
-example(zstyle ':completion:*' matcher-list '' '+m{a-z}={A-Z}' '+m{A-Z}={a-z}')
+example(zstyle ':completion:*' matcher-list '' '+m:{a-z}={A-Z}' '+m:{A-Z}={a-z}')
 
 It is possible to create match specifications valid for particular
 completers by using the third field of the context.  For example, to
-- 
1.8.5.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author