diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2004-06-22 07:02:35 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2004-06-22 07:02:35 +0000 |
commit | 43c232e2a3efa21370924e03a9c02017995e7a80 (patch) | |
tree | 789e21c275f200ff7b2ab5b5583d8aed9abeb4fe /Doc/Zsh/compsys.yo | |
parent | c21172f2d0166d70cdb4eea5be9890465d980a63 (diff) | |
download | zsh-43c232e2a3efa21370924e03a9c02017995e7a80.tar.gz zsh-43c232e2a3efa21370924e03a9c02017995e7a80.tar.xz zsh-43c232e2a3efa21370924e03a9c02017995e7a80.zip |
Previously uncommitted bits of 19785.
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 766280b00..9a30229bb 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -225,8 +225,8 @@ Functions with the tt(#autoload) tag are marked for autoloading but are not otherwise treated specially. Typically they are to be called from within one of the completion functions. Any var(options) supplied will be passed to the tt(autoload) builtin; a typical use is tt(+X) to -force the function to be loaded immediately. Note that the tt(-U) flag is -always added implicitly. +force the function to be loaded immediately. Note that the tt(-U) and +tt(-z) flags are always added implicitly. ) enditem() @@ -234,16 +234,6 @@ The tt(#) is part of the tag name and no white space is allowed 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 cannot be loaded if it is -set. To avoid having to unset tt(KSH_AUTOLOAD), you can instead use one or -more tt(zwc) file(s) that have been created with the command tt(zcompile --z) to load the functions for the completion system; see -ifzman(zmanref(zshbuiltins))\ -ifnzman(noderef(Shell Builtin Commands))\ -. This forces the functions to be autoloaded the way zsh normally -loads functions. - The special contexts for which completion functions can be defined are: startitem() |