CmdID

CmdID / Commands

autoload

Mark functions for lazy loading in Zsh. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Mark functions for lazy loading in Zsh. Functions are not loaded into memory until first called, improving shell startup time.

Autoload a function by name

autoload function_nameIdentify

Autoload a function and immediately resolve its definition

autoload +X function_nameIdentify

Autoload a function using Zsh-style autoloading (recommended)

autoload -Uz function_nameIdentify

Make functions from a directory available by adding it to fpath

fpath=(path/to/functions_dir $fpath) && autoload -Uz function_nameIdentify

Autoload the Zsh completion system

autoload -Uz compinit && compinitIdentify

Autoload and use the add-zsh-hook utility

autoload -Uz add-zsh-hookIdentify