zi cdlist
Summary
Section titled “Summary”Show the list of compdef calls that have been intercepted and are waiting to be replayed. Use this to inspect what completions have been captured before compinit ran.
Syntax / Usage
Section titled “Syntax / Usage”zi cdlistNo arguments.
Details
Section titled “Details”Displays the contents of the array where Zinit stores intercepted compdef calls. Each entry is a compdef invocation recorded before compinit was available. This is a read-only inspection command — it does not execute or clear the list. Useful for debugging missing completions or verifying that specific plugins’ compdef calls were captured correctly.
Examples
Section titled “Examples”# Inspect captured compdefs after loading pluginszi snippet OMZP::gitzi cdlist # see what git plugin registeredSee Also
Section titled “See Also”- cmd-cdreplay
- cmd-cdclear