diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 21:29:55 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 21:29:55 +0000 |
commit | 03e230cc54103d18e9c8a18208c7d27805400a71 (patch) | |
tree | efb79fe4d798134599ec6c90cd9912e59ccca69d /Doc/Zsh/builtins.yo | |
parent | b9c19b15a6f01279ddcf32ca6fa51894a64a6c16 (diff) | |
download | zsh-03e230cc54103d18e9c8a18208c7d27805400a71.tar.gz zsh-03e230cc54103d18e9c8a18208c7d27805400a71.tar.xz zsh-03e230cc54103d18e9c8a18208c7d27805400a71.zip |
manual:9047
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 9513eb22c..072316256 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1303,15 +1303,16 @@ 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 the module to be loaded is +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 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). 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. +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) 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 |