summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-18 02:36:39 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-20 07:49:25 +0000
commit9df6c728e8e43a20e337debbd17c6509f31f570f (patch)
tree4c362c53a59d6e60addd8bb93d72add789df49ea /Doc/Zsh
parentcfa8d8bcadbdfdcd976813ef0392539cf3819342 (diff)
downloadzsh-9df6c728e8e43a20e337debbd17c6509f31f570f.tar.gz
zsh-9df6c728e8e43a20e337debbd17c6509f31f570f.tar.xz
zsh-9df6c728e8e43a20e337debbd17c6509f31f570f.zip
37664: docs: Document the completion function _command_names.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index d6b180301..9954f30d2 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4203,6 +4203,12 @@ All arguments after the required field name are passed to
 tt(compadd) when generating matches from the style value, or to 
 the functions for the fields if they are called.
 )
+findex(_command_names)
+item(tt(_command_names) [ tt(-e) | tt(-) ])(
+This function completes words that are valid at command position: names of
+aliases, builtins, hashed commands, functions, and so on.  With the tt(-e)
+flag, only hashed commands are completed.  The tt(-) flag is ignored.
+)
 findex(_describe)
 redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ @ @ ))ifnztexi(          )))
 xitem(tt(_describe )[tt(-12JVx)] [ tt(-oO) | tt(-t) var(tag) ] var(descr) var(name1) [ var(name2) ] [ var(opt) ... ])