diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-01-18 02:36:39 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-01-20 07:49:25 +0000 |
commit | 9df6c728e8e43a20e337debbd17c6509f31f570f (patch) | |
tree | 4c362c53a59d6e60addd8bb93d72add789df49ea /Doc/Zsh | |
parent | cfa8d8bcadbdfdcd976813ef0392539cf3819342 (diff) | |
download | zsh-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.yo | 6 |
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) ... ]) |