zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Fix the objects b and B matching in doc
@ 2015-09-15  8:23 Han Pingtian
  0 siblings, 0 replies; only message in thread
From: Han Pingtian @ 2015-09-15  8:23 UTC (permalink / raw)
  To: zsh-workers

>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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-15  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15  8:23 [PATCH] Fix the objects b and B matching in doc Han Pingtian

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).