about summary refs log tree commit diff
path: root/Doc/Zsh/compwid.yo
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-06-22 01:37:07 +0200
committerOliver Kiddle <opk@zsh.org>2016-06-22 01:37:07 +0200
commite83489fc4ba168abeb5ea7e23e64383fed181ed3 (patch)
treeb573a21ddbccc2adf8132166b2a7b5a22d6bec6d /Doc/Zsh/compwid.yo
parent139a4dbe07728a22dcb120d1ca9ff3cdae98471a (diff)
downloadzsh-e83489fc4ba168abeb5ea7e23e64383fed181ed3.tar.gz
zsh-e83489fc4ba168abeb5ea7e23e64383fed181ed3.tar.xz
zsh-e83489fc4ba168abeb5ea7e23e64383fed181ed3.zip
38714: add x: syntax to match specs to make it possible to disable match specs hardcoded in completion functions
Diffstat (limited to 'Doc/Zsh/compwid.yo')
-rw-r--r--Doc/Zsh/compwid.yo7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index c01763316..1cc94bf95 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -913,6 +913,13 @@ line and trial completion patterns are anchored on the right side.
 Here an empty var(ranchor) and the tt(e) and tt(E) forms force the
 match to the end of the command line or trial completion string.
 )
+item(tt(x:))(
+This form is used to mark the end of matching specifications:
+subsequent specifications are ignored. In a single standalone list
+of specifications this has no use but where matching specifications
+are accumulated, such as from nested function calls, it can allow one
+function to override another.
+)
 enditem()
 
 Each var(lpat), var(tpat) or var(anchor) is either an empty string or