diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-29 06:35:39 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-29 06:35:39 +0000 |
commit | 968c9f5f9952f24c322fc638c4af73c2d9a58dd5 (patch) | |
tree | d1c078dbf9f60c7689f429b3dc2efb9f8e94af5e /Doc/Zsh/compctl.yo | |
parent | a8c7d3c0ee5eb1d4a83c86f68b5d22f9e44c6b3b (diff) | |
download | zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.tar.gz zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.tar.xz zsh-968c9f5f9952f24c322fc638c4af73c2d9a58dd5.zip |
12716: Document and index REPLY/reply paramters properly.
Diffstat (limited to 'Doc/Zsh/compctl.yo')
-rw-r--r-- | Doc/Zsh/compctl.yo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/compctl.yo b/Doc/Zsh/compctl.yo index cee73c897..821916161 100644 --- a/Doc/Zsh/compctl.yo +++ b/Doc/Zsh/compctl.yo @@ -305,6 +305,7 @@ completions. The tt(fignore) special parameter is not applied to the resulting files. Note that tt(-g) is faster for filenames. ) item(tt(-K) var(function))( +vindex(reply, use of) Call the given function to get the completions. Unless the name starts with an underscore, the function is passed two arguments: the prefix and the suffix of the word on which @@ -431,6 +432,7 @@ and suffixes, menucompletion is started immediately if tt(AUTO_MENU) is set and this flag is used. ) item(tt(-y) var(func-or-var))( +vindex(reply, use of) The list provided by var(func-or-var) is displayed instead of the list of completions whenever a listing is required; the actual completions to be inserted are not affected. It can be provided in two @@ -441,7 +443,7 @@ call to a function using the tt(-K) option. Otherwise it contains the name of a function which will be executed to create the list. The function will be passed as an argument list all matching completions, including prefixes and suffixes expanded in full, and should set the -array var(reply) to the result. In both cases, the display list will +array tt(reply) to the result. In both cases, the display list will only be retrieved after a complete list of matches has been created. Note that the returned list does not have to correspond, even in |