$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.
Links
Examples
- Display state of all Zsh builtin commands
- Output:
1declare builtins1 2# first two items of the output builtins=( [unset]=defined [rehash]=defined )
BashSupport Pro is a Zsh IDE with support for $builtins – try it now!