Closed redxtech closed 1 year ago
@redxtech,
What is the output of:
zinit version
@redxtech,
I can't reproduce this error
The outcome of zinit version
is probably not helpful:
Error: No plugin or snippet ID given (the last recognized ice was: version'').
You can try to prepend `@' to the ID if the last ice is in fact a plugin.
Note: The `ice` subcommand is now again required if not using the for-syntax.
That said, I'm fairly certain my zinit
is decently out of date, so I just ran zinit update
, and the issue is no longer happening.
Glad to see it was just an outdated version issue!
@redxtech,
Indeed, the version
subcommand (see #440) is a recent addition to display the release tag + commits since
Regarding Zinit being out-of-date...
I'd nudge you towards the self-update
sub-command which will only attempt to update Zinit. While update
will (afaik) accomplish what you want, it will attempt to update everything (not a great default 🤷♂️) which takes longer and might make an unwanted change or version update.
What happened?
When using the
ver
ice on a program, I wanted to select the latest nightly release. However, it is not working.Leaving it omitted/empty defaults to
latest
, which is the latest stable release.When I set it to
nightly
, it tells megh-r: failed to find the correct GitHub release asset to download.
Steps to reproduce
in my zshrc:
when sourcing my zshrc, the error happens.
Relevant output
Screenshots and recordings
No response
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
kitty,
xterm-kitty
If using WSL on Windows, which version of WSL
None
Additional context
No response
Code of Conduct