mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
zsh-workers/9966
This commit is contained in:
parent
c41f9e8f8b
commit
097e2d70cd
3 changed files with 24 additions and 14 deletions
|
|
@ -1304,9 +1304,10 @@ noderef(Functions)
|
|||
for a description of how autoloaded functions are searched).
|
||||
|
||||
If there is at least one var(function) argument, the wordcode for all
|
||||
these functions will be put in the created wordcode var(file). Such
|
||||
files containing the code for multiple functions are intended to be
|
||||
used as elements of the tt(FPATH)/tt(fpath) special array.
|
||||
these functions will be put in the created wordcode var(file) (if that
|
||||
name does not end in tt(.zwc), this extension is automatically
|
||||
appended). Such files containing the code for multiple functions are
|
||||
intended to be used as elements of the tt(FPATH)/tt(fpath) special array.
|
||||
|
||||
If the tt(-U) option is given, aliases in the var(function)s will not
|
||||
be expanded. If the tt(-r) option is given, the function(s) in the
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@ example(fpath=(~/myfuncs $fpath)
|
|||
autoload myfunc1 myfunc2 ...)
|
||||
|
||||
The elements of the tt(fpath) array may also name wordcode files
|
||||
directly. This is mostly useful for wordcode files containing multiple
|
||||
directly. The names of these files must have the tt(.zwc) extension
|
||||
but in tt(fpath) the names may be given with or without it. This is
|
||||
mostly useful for wordcode files containing multiple
|
||||
functions, in which case the file is treated like a directory
|
||||
containing files for functions and will be searched for the definition
|
||||
of the function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue