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
$ zinit ls
ERROR: Unknown subcommand: `ls` (it should be one of, e.g.: `load`, `snippet`, `update`, `delete`, …, e.g.: `zinit load username/reponame`) or a for-based command body (i.e.: e.g.: `zinit …ice-spec… for …(plugin or snippet) ID-1 ID-2 ⋯⋯…`). See `help`for a more detailed usage information and the list of the subcommands.
To help reproducing the bug in a clean environment I have created PR #671 (WIP) with added test for zinit ls command. The test currently fails.
Relevant output
ERROR: Unknown subcommand: ls (it should be one of, e.g.: load, snippet, update, delete, …, e.g.: zinit load username/reponame) or a for-based command body (i.e.: e.g.: zinit …ice-spec… for …(plugin or snippet) ID-1 ID-2 ⋯⋯…). See helpfor a more detailed usage information and the list of the subcommands.
Screenshots and recordings
No response
Operating System & Version
OS: darwin23.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (x86_64-apple-darwin23.0)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
At the moment I cannot provide any meaningful root cause analysis as I am not fluent enough in zinit code. I am suspicious that loading zinit-autoload.zsh is broken somewhere as function .zinit-list-snippets which seems to be an implementation of zinit ls command is not autoloaded as well:
$ .zinit-list-snippets
zsh: command not found: .zinit-list-snippets
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
zinit ls
command failsSteps to reproduce
zinit ls
To help reproducing the bug in a clean environment I have created PR #671 (WIP) with added test for
zinit ls
command. The test currently fails.Relevant output
Screenshots and recordings
No response
Operating System & Version
OS: darwin23.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (x86_64-apple-darwin23.0)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
At the moment I cannot provide any meaningful root cause analysis as I am not fluent enough in zinit code. I am suspicious that loading
zinit-autoload.zsh
is broken somewhere as function.zinit-list-snippets
which seems to be an implementation ofzinit ls
command is not autoloaded as well:$ .zinit-list-snippets zsh: command not found: .zinit-list-snippets
Code of Conduct
The text was updated successfully, but these errors were encountered: