zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.89k stars 124 forks source link

[doc]: Missing documentation for reinstalling/uninstalling zinit #446

Closed okuramasafumi closed 1 year ago

okuramasafumi commented 1 year ago

Documentation Link

No response

Problem

I have some issue about zinit where I see messages like compinit:527: no such file or directory: /Users/okuramasafumi/.local/share/zinit/completions/_autocomplete.all_matches. I'd like to cleanup my zinit environment by reinstalling it, but could not find a documentation describing reinstall method. Also, if I want to switch to some other alternatives, uninstalling documentation would help.

Suggested improvement

Adding uninstalling documentation should be good. I believe we can reinstall zinit simply by uninstalling it and installing it again.

vladdoster commented 1 year ago

@okuramasafumi Great suggestion.

A few things that you can immediately use:

  1. Did you see the completions section in README.md?

  2. Missing completions

Error:

compinit:527: no such file or directory: /Users/okuramasafumi/.local/share/zinit/completions/_autocomplete.all_matches

Fix:

cclear

I've been meaning to add a re-install command. I will open an issue to track the progress.

alichtman commented 1 year ago

Just for clarity, the command you run in your terminal is $ zinit cclear

okuramasafumi commented 1 year ago

Thank you, I run zinit cclear command and it seems some completions were removed. I'll see if it resolves my issue.