diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-28 13:20:11 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-28 13:20:11 +0000 |
commit | 36023fdada9fd4c0b072527c49e69d2888d56096 (patch) | |
tree | 5711a48925567bbc7a3c60e262236f5cbe11a8b0 /Doc/Zsh/compsys.yo | |
parent | 5a3fe9220dd77337202f8f095444556f4129a3f9 (diff) | |
download | zsh-36023fdada9fd4c0b072527c49e69d2888d56096.tar.gz zsh-36023fdada9fd4c0b072527c49e69d2888d56096.tar.xz zsh-36023fdada9fd4c0b072527c49e69d2888d56096.zip |
move compctl docs behind compsys, mention `zcompile -z' in compsys (11008)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 1e077d8ad..d8b83a6f8 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1,4 +1,4 @@ -texinode(Completion System)(Zsh Modules)(Completion Widgets)(Top) +texinode(Completion System)(Completion Using compctl)(Completion Widgets)(Top) chapter(Completion System) cindex(completion system) cindex(completion, programmable) @@ -202,6 +202,18 @@ after it. The tt(#compdef) tags use the tt(compdef) function described below; the main difference is that the name of the function is supplied implicitly. +Note also that the functions for the completion system assume that the +tt(KSH_AUTOLOAD) option is not set, they can't be loaded when it is +set. But when you can't or don't want to unset tt(KSH_AUTOLOAD) and +still want to use the completion system, you can simply use one or +more tt(zwc) file(s) created with the tt(zcompile) builtin command +with the tt(-z) option to load the functions for the completion system +from (see +ifzman(zmanref(zshbuiltins))\ +ifnzman(noderef(Shell Builtin Commands))\ +). This forces the functions to be autoloaded the way zsh normally +loads functions. + subsect(Functions) The tt(compinit) file defines the following function, which may |