diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-14 18:04:06 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-14 18:04:06 +0000 |
commit | d5fbda44c32c6d9905406b074ebeccb26e263055 (patch) | |
tree | 9fde7cd6d8a52dfbffd38c28788be142697b6f80 /Doc/Zsh/builtins.yo | |
parent | 82b1d142358a804375d2bf821ae4d1e840797dbd (diff) | |
download | zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.gz zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.xz zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.zip |
zsh-workers/9046
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 072316256..9513eb22c 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1303,16 +1303,15 @@ xitem(tt(zmodload) [ tt(-i) ] var(name) ... ) item(tt(zmodload) tt(-u) [ tt(-i) ] var(name) ...)( In the simplest case, tt(zmodload) loads a binary module. The module must be in a file with a name consisting of the specified var(name) followed by -a standard suffix, usually `tt(.so)'. If this can't be found, the -var(name) is tried without the suffix. If the module to be loaded is +a standard suffix, usually `tt(.so)'. +If the module to be loaded is already loaded and the tt(-i) option is given, the duplicate module is ignored. Otherwise tt(zmodload) prints an error message. The var(name)d module is searched for in the same way a command is, using -tt($module_path) instead of tt($path). If var(name) contains a `tt(/)', -it will be used as-is, and a path search will be performed otherwise. -This behaviour can be modified by the tt(PATH_DIRS) option. -cindex(PATH_DIRS, use of) +tt($module_path) instead of tt($path). However, the path search is +performed even when the module name contains a `tt(/)', which it usually does. +There is no way to prevent the path search. With tt(-u), tt(zmodload) unloads modules. The same var(name) must be given that was given when the module was loaded, but it is not |