$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 是一款支持 builtins** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款