Closed rrpolanco closed 6 months ago
Upon close inspection, it turns out that for jq
there is no arm64 binary for jq-1.6 (latest stable release):
Downloading jqlang/jq… (at label: jq…)
[gh-r] Error: bpick ice found no release assets. To fix, modify the bpick glob pattern *macos-arm*
[gh-r] Error: No GitHub release assets found for jq-1.6
Fixed it by bpick
ing the pre-release version of jq
where macos-arm64
binary is published.
For exa
I had to resort to using zinit-annex-rust to fix my issue since exa
does not publish macos-arm64 binaries to github releases:
zinit ice rustup cargo'exa' as"command" pick"bin/exa"
zinit load zdharma-continuum/null
@rrpolanco,
Exa is unmaintained and the maintained fork is exa-community/eza
. Unfortunately, it does not yet have macOS binaries (I'm working on a PR to add it as a build target).
You shouldn't have any issue using the x86_64 exa binary.
I use the follwing recipe (GitHub link):
zi aliases from'gh-r' lbin'!' light-mode nocompile for \
atload"!(){setopt no_aliases;alias l='eza -blF';alias la='eza -abghilmu';alias ll='eza -al';alias ls='eza --git --group-directo
ries-first';}" \
if'[[ $VENDOR != apple ]]' \
@eza-community/eza \
atload"!(){setopt no_aliases;alias l='exa -blF';alias la='exa -abghilmu';alias ll='exa -al';alias ls='exa --git --group-directo
ries-first';}" \
if'[[ $VENDOR = apple ]]' \
@ogham/exa
You can simplify your jq
recipe by using the binary-symlink
annex.
zi load @zdharma-continuum/zinit-annex-binary-symlink
zi from'gh-r' lbin'!' for @jqlang/jq
[!NOTE]
Ignore the debug logging (set viaexport ZINIT[DEBUG]='1'
)
@rrpolanco,
Issue closed and locked due to lack of activity. If you encounter this same issue, please open a new issue and refer to this closed one.
What happened?
zinit
is downloading the wrong binary forexa
andjq
.Steps to reproduce
Relevant output
No response
Screenshots and recordings
No response
Operating System & Version
OS: darwin22.1.0 | Vendor: apple | Machine: arm | CPU: arm64 | Processor: arm | Hardware: arm64
Zsh version
zsh 5.9 (arm-apple-darwin22.1.0)
Terminal emulator
Terminal | xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
No response
Code of Conduct