about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-03-03 16:50:14 +0100
committerOliver Kiddle <opk@zsh.org>2014-03-03 16:50:14 +0100
commit7d301a527e729e2a2fda03069e485bdcc2e12823 (patch)
tree363a583aecc48bccc7740c76794cafb85feefb3b /Doc/Zsh
parentf62bd9c06c76b2b34a5e5454aa6f8617c7289b30 (diff)
downloadzsh-7d301a527e729e2a2fda03069e485bdcc2e12823.tar.gz
zsh-7d301a527e729e2a2fda03069e485bdcc2e12823.tar.xz
zsh-7d301a527e729e2a2fda03069e485bdcc2e12823.zip
32441: add completer for file extensions
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 5a5e61996..f015bbf92 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3047,6 +3047,15 @@ This function is also a bindable command, see
 ifzman(the section `Bindable Commands' below)\
 ifnzman(noderef(Bindable Commands)).
 )
+findex(_extensions)
+item(tt(_extensions))(
+If the cursor follows the string `tt(*.)', filename extensions are
+completed. The extensions are taken from files in current directory or a
+directory specified at the beginning of the current word. For exact matches,
+completion continues to allow other completers such as tt(_expand) to
+expand the pattern. The standard tt(add-space) and tt(prefix-hidden)
+styles are observed.
+)
 findex(_history)
 item(tt(_history))(
 Complete words from the shell's command  history.  This completer