zi cclear
Summary
Section titled “Summary”Clear stray and improper completions from Zinit’s completions directory. Use this to fix broken or dangling completion symlinks.
Syntax / Usage
Section titled “Syntax / Usage”zi cclearNo arguments.
Details
Section titled “Details”Removes completion symlinks in $ZINIT[COMPLETIONS_DIR] that point to files which no longer exist (dangling symlinks) or that are otherwise invalid. This is a maintenance command that keeps the completions directory tidy. After running it, use zi creinstall on affected plugins to restore their completions.
Examples
Section titled “Examples”# Clean up stray completionszi cclearSee Also
Section titled “See Also”- cmd-completions
- cmd-creinstall
- cmd-csearch