$builtins  –  State of Builtin Commands

$builtins contains the state of builtin commands. An associated value of defined means that the command was already loaded. undefined means, that the command will be loaded from a module when it’s invoked for the first time.

Examples

Display state of all Zsh builtin commands
1
declare builtins
Output:
1
2
# first two items of the output
builtins=( [unset]=defined [rehash]=defined )
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $builtins - probieren Sie es jetzt aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches