zi cdisable
Summary
Section titled “Summary”Disable a specific installed completion without uninstalling it. The completion file remains on disk but is removed from the active $fpath symlinks.
Syntax / Usage
Section titled “Syntax / Usage”zi cdisable {cname}{cname} is the completion name, typically the filename without the leading underscore (e.g., git for _git).
Details
Section titled “Details”Removes the symlink for the named completion from $ZINIT[COMPLETIONS_DIR] (the directory in $fpath), making it invisible to compinit. The source file in the plugin directory is untouched. The completion can be re-enabled at any time with zi cenable. This lets you selectively suppress one completion without removing the whole plugin or running cuninstall.
Examples
Section titled “Examples”# Disable the _git completionzi cdisable git
# Disable the _docker completionzi cdisable dockerSee Also
Section titled “See Also”- cmd-cenable
- cmd-completions
- cmd-cuninstall