zinit: [bug]: commit d59f15 makes `gh-r` select i686 (32 bit) `fd` binary

Describe the bug

$ zinit wait lucid for from"gh-r" as"null" sbin"**/fd" atclone"cp -vf **/*.1 $ZPFX/man/man1" @sharkdp/fd
$ fd
fd:7: no such file or directory: /home/anupam/.local/share/zinit/plugins/sharkdp---fd/fd-v8.3.2-i686-unknown-linux-gnu/fd

The latest commit downloads i686 binary instead of x86_64. This has been verified on debian (sid, 20220328-962) and Fedora release 36.

Steps to reproduce

  1. zini update
  2. zinit for from"gh-r" as"null" sbin"**/fd" @sharkdp/fd
  3. Run fd

Expected behavior

fd should run without any problem, like it used to

Screenshots and recordings

No response

OS / Linux distribution

linux-gnu redhat x86_64 x86_64 x86_64 x86_64

Zsh version

5.8.1

Terminal emulator

Windows Terminal

If using WSL on Windows, which version of WSL

WSL2

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (11 by maintainers)

Commits related to this issue

Most upvoted comments

@anupamsr and fd breaks on both of those systems?

I know you said nvm but yes 😃