Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: compinit:527: no such file or directory: ~/.local/share/zinit/completions/_nvm #647

Open
1 task done
the-arkhive opened this issue Mar 24, 2024 · 2 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@the-arkhive
Copy link

the-arkhive commented Mar 24, 2024

What happened?

This error started printing twice each time I initiate a shell. The file specified does in fact exist.

Steps to reproduce

Honestly I have no clue. This happened very randomly, but possibly after a recent oh-my-zsh update?

Relevant output

compinit:527: no such file or directory: ~/.local/share/zinit/completions/_nvm

Operating System & Version

OS: linux-gnu | Vendor: pc | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

foot

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@the-arkhive the-arkhive added the bug Something isn't working label Mar 24, 2024
@cands
Copy link

cands commented Apr 3, 2024

I experience the same or a similar issue and also think it stems from some recent update. I get slightly different error message and one additional error printed:

compinit:527: no such file or directory: ~/.local/share/zinit/completions/_autocomplete__ancestor_dirs
compinit:shift:529: shift count must be <= $#

@cands
Copy link

cands commented Apr 13, 2024

I investigated further and issuing command zinit cclear (documentation states this will clear stray and improper completions) solved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants