Is there a command to get builtin commands on zsh? For example, it is possible to get all builtin commands with the compgen -b
command in the bash shell.
zsh shell-builtin compgen – Command to Get Builtin Commands in Zsh
compgenshell-builtinzsh
compgenshell-builtinzsh
Is there a command to get builtin commands on zsh? For example, it is possible to get all builtin commands with the compgen -b
command in the bash shell.
Best Answer
See
info zsh builtins
:But note that new builtins are made available when you load more modules with
zmodload
.To
print
the list (thek
eys of that associative array)r
aw ando
rdered on1
C
olumn:Or you can print the key and values on two columns to see which ones are already loaded and which ones would be automatically loaded upon first invocation:
To list all commands and reserved words along with their type, see also: