zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.74k stars 122 forks source link

[bug]: zinit clist -> Unknown subcommand: `clist` #569

Closed imhansai closed 9 months ago

imhansai commented 10 months ago

What happened?

An error occurred when executing zinit clist, zinit completions are OK

Steps to reproduce

$ zinit clist

Relevant output

ERROR: Unknown subcommand: `clist` (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.

Screenshots and recordings

image

Operating System & Version

OS: darwin22.0 | Vendor: apple | Machine: x86_64 | CPU: x86_64 | Processor: i386 | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-apple-darwin22.0)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

vladdoster commented 9 months ago

@imhansai,

Thank you for reporting this! I have opened a PR to fix this.

github-actions[bot] commented 7 months ago

:tada: This issue has been resolved in version 3.12.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

ShelpAm commented 7 months ago

zi clist still prints ERROR: Unknown subcommand: `clist` (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.

I have updated my zinit to the following version: zinit v3.12.1-1-g3c7e5be0 (linux-gnu_x86_64)

Where did I go wrong?

imhansai commented 7 months ago

@ShelpAm 实际上,命令补全中已经移除了 clist, 只能使用 completions 子命令 In fact, clist has been removed from command completion, and only the completions subcommand can be used.

image

ShelpAm commented 7 months ago

@imhansai 谢谢了!