Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Fix the objects b and B matching in doc
- X-seq: zsh-workers 36538
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Fix the objects b and B matching in doc
- Date: Tue, 15 Sep 2015 16:23:09 +0800
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From the example blow:
... ... To fix this, one would use ‘B:[nN][oO]=’ instead of
the first part. As described above, this matches at the beginning of
the trial completion, independent of other characters or substrings at
the beginning of the command line word which are ignored by the
same or other match-specs.
and the source code, I think we need this patch. Please have a look.
Thanks.
---
Doc/Zsh/compwid.yo | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index 40cabea..303c19d 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -899,8 +899,8 @@ var(lanchor), the var(ranchor) only needs to match the trial
completion string.
The tt(b) and tt(B) forms are similar to tt(l) and tt(L) with an empty
-anchor, but need to match only the beginning of the trial completion
-or the word on the command line, respectively.
+anchor, but need to match only the beginning of the word on the command line
+or trial completion, respectively.
)
xitem(tt(r:)var(lpat)tt(|)var(ranchor)tt(=)var(tpat))
xitem(tt(R:)var(lpat)tt(|)var(ranchor)tt(=)var(tpat))
--
1.9.3
Messages sorted by:
Reverse Date,
Date,
Thread,
Author