$modules
–
Information about Zsh modules
$modules
contains information about loaded, registered and aliased modules of the Zsh shell.
The keys of this associative array are the modules names, the values have one of these values:
- loaded
- autoloaded
- alias:alias name
Links
Examples
- Print modules of Zsh
- Output:
1 2
typeset modules # output is only shown with the first two items
1
modules=( [zsh/stat]=loaded [zsh/zutil]=loaded ... )
BashSupport Pro is a Zsh IDE with support for $modules – try it now!