romkatv/zsh4humans

zsh-completions won't update its completion files when using `z4h update`

Farid-NL opened this issue · 3 comments

Tinkering with nvm an its awful loading time in the shell I figured that some arguments where missing when using the completion feature. The exec argument was missing.

z4h uses zsh-completions for additional completions, so I compared both _nvm files in $HOME/.cache/zsh4humans/v5/zsh-completions and in the gh repo. They are different.

I use V5 of Z4H

Steps to reproduce:

  1. Run z4h update
  2. Compare _nvm files in $HOME/.cache/zsh4humans/v5/zsh-completions with gh repo
  3. Notice that the local _nvm file is not updated

I tried to uninstall Z4H with no avail, the issue it's still there

Also I noticed that when ls -la $HOME/.cache/zsh4humans/v5/zsh-completions the .git directory is missing, maybe that's why?

Here's the diff if it's worth something

The core dependencies of z4h are vendored: z4h update gives you the latest version of zsh-completions that I've looked at and blessed as stable.

I've blessed a new version just now. Please run z4h update and let me know whether it fixes the issue.

Gotcha, they're vendored.
It fixed the issue. Thank you so much.

Thank you for verifying.