From f963b9f9d3ee0793fa9d6a0bbbd9084c0fc4d9fd Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 28 Apr 2022 12:13:07 +0100 Subject: [PATCH] chore(zinit): remove no longer needed bpick option for volta The binary selection logic has been fixed in zinit, so it now correctly picks the right binary for volta. --- zsh/nodejs.zsh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/zsh/nodejs.zsh b/zsh/nodejs.zsh index 0dbc18d..ad9144d 100755 --- a/zsh/nodejs.zsh +++ b/zsh/nodejs.zsh @@ -6,17 +6,7 @@ # Volta # ============================================================================== -if [[ "$OSTYPE" == "darwin"* ]]; then - if [[ "$(uname -m)" == "arm64" ]]; then - zinit_volta_bpick='*macos-aarch64*' - else - zinit_volta_bpick='*macos.tar*' - fi -elif [[ "$OSTYPE" == "linux"* ]]; then - zinit_volta_bpick='*linux-openssl-1.1.tar.gz' -fi - -zinit light-mode wait lucid as'program' from'gh-r' bpick"$zinit_volta_bpick" \ +zinit light-mode wait lucid as'program' from'gh-r' \ atclone'./volta completions zsh > _volta' atpull'%atclone' \ for @volta-cli/volta