zinit: [bug]: Choosing version track such as Nightly as the version to stay on

Describe the bug

Hello, I have something like this (which I think there’s redundant keywords in it):

zi ice lucid cloneonly from"gh-r" bpick"*linux-gnu.gz" mv"rust-analyzer-* -> rust-analyzer" fbin"rust-analyzer"
zi light "rust-lang/rust-analyzer"

The problem is if there’s a Nighly update, the Release version is updated once to the Nightly version and now it hasn’t updated to a newer Nightly version. How can I make sure it either updates to a newer Nightly, or only updates to stable Releases?

Steps to reproduce

  1. Add above snippet to .zshrc
  2. Reload terminal to install

Expected behavior

Update to latest Nightly, or stay on Stable

Screenshots and recordings

No response

OS / Linux distribution

Linux void 5.16.20_1 #1 SMP PREEMPT Thu Apr 14 17:43:53 UTC 2022 x86_64 GNU/Linux

Zsh version

5.8.1

Terminal emulator

foot

If using WSL on Windows, which version of WSL

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Thank you so much @vladdoster, it seems like it’s resolved now

😁 Looks like I had to manually create the bin folder in polaris for sbin to work. I was using fbin for a long time but it looks like things have changed since; I’ve switched to using sbin now