You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the README and other documentation that I can find, zinit update is supposed to update the plugins and snippets while zinit self-update is supposed to update zinit itself.
Steps to reproduce
Have a basic .zshrc where line 1 is source zinit.zsh
Line 2 is zinit update --all --parallel 30 --reset --quiet
Line 3 is zinit light zdharma-continuum/fast-syntax-highlighting
Relevant output
[self-update] updating zinit repository
[self-update] fetching latest changes from main branch
Screenshots and recordings
No response
Operating System & Version
OS: darwin24.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (arm64-apple-darwin24.0)
Terminal emulator
xterm-256color (using iTerm)
If using WSL on Windows, which version of WSL
None
Additional context
This is a very very basic .zshrc file to experiment with. One of two things is happening here and I would like to understand which it is..
A bug is here and zinit update is not supposed to be running zinit self-update
zinit updateis supposed to do a zinit self-update and the documentation is either misleading, or wrong.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
At the time of this writing, I tracked it down in the code. In zinit.zsh on line 2965, you're calling .zinit-update-or-status-all. Per that function from zinit-autoload.zsh, line 4 of the function calls .zinit-self-update -q. Per the blame log, this commit is when that line of code was last touched but that isn't when this behavior was introduced. So this behavior has been there awhile and I'm trying to understand why. Please advise. Thank you.
What happened?
Per the README and other documentation that I can find,
zinit update
is supposed to update the plugins and snippets whilezinit self-update
is supposed to update zinit itself.Steps to reproduce
Relevant output
Screenshots and recordings
No response
Operating System & Version
OS: darwin24.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (arm64-apple-darwin24.0)
Terminal emulator
xterm-256color (using iTerm)
If using WSL on Windows, which version of WSL
None
Additional context
This is a very very basic .zshrc file to experiment with. One of two things is happening here and I would like to understand which it is..
zinit update
is not supposed to be runningzinit self-update
zinit update
is supposed to do azinit self-update
and the documentation is either misleading, or wrong.Code of Conduct
The text was updated successfully, but these errors were encountered: