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 32272
- From: Daniel Hahler <dhahler+zsh-workers@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] doc: fix example for '+' in matcher-list completion style
- Date: Fri, 17 Jan 2014 20:02:04 +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=1389985323; bh=ckKnKoS3zj2uWHi Yi4DBj4Gt9TIpcY2zbwCa8eYVjNY=; b=dYR0ZzmZXZhUVNcVytkDESOeVnqHM2V VIXA2rZa6M1SHX99cFlIPCMTlAV2iLDh1v+gE8IDPHYDl4gS5SuU/dKJufi0GnyX 9lExWh+aDacT+n51i6pxM9Ej0fF//KiYNtADqcsHHpZJ4Q3Kj27M+w+7zQYQWVJK r8/VhSCpXdiQ=
- 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