$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:

  1. loaded
  2. autoloaded
  3. alias:alias name

Examples

Print modules of Zsh
1
2
typeset modules
# output is only shown with the first two items
Output:
1
modules=( [zsh/stat]=loaded [zsh/zutil]=loaded ... )
BashSupport Pro is a Zsh IDE with support for $modulestry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal