summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Pingtian <hanpt@linux.vnet.ibm.com>2015-09-15 16:23:09 +0800
committerPeter Stephenson <pws@zsh.org>2015-09-22 09:58:59 +0100
commitd2910fd64f584d57dbf544db8aa36ac909ea212f (patch)
tree3e1b9e9a0800236fd6a4e10c005ff7ceddec5292
parent53fcadc1f8a735ee0194ec83bebe1afd6ff14d1c (diff)
downloadzsh-d2910fd64f584d57dbf544db8aa36ac909ea212f.tar.gz
zsh-d2910fd64f584d57dbf544db8aa36ac909ea212f.zip
36538: fix description of b and B completion match anchors
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/compwid.yo4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6523ff8bd..897aa1ad6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-22 Peter Stephenson <p.stephenson@samsung.com>
+
+ * 36538: Han Pingtian: Doc/Zsh/compwid.yo: tweak code for match
+ anchors to get correct difference between b and B.
+
2015-09-22 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36578: Doc/Zsh/compsys.yo: option in a mutually exclusive set
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index 40cabea88..303c19db5 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))