Skip to content

zi cenable

Re-enable a completion that was previously disabled with zi cdisable. Restores the symlink so the completion is active for compinit.

Terminal window
zi cenable {cname}

{cname} is the completion name without the leading underscore (e.g., git for _git).

Re-creates the symlink in $ZINIT[COMPLETIONS_DIR] for the named completion. After running cenable, you may need to run compinit again (or open a new shell) for the completion to become active in the current session.

Terminal window
# Re-enable the _git completion
zi cenable git
# Re-enable docker completion
zi cenable docker
  • cmd-cdisable
  • cmd-completions
  • cmd-creinstall