From 24f10f6367cbab6039bd0c1ca07dd9449bbc3557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=B6ltje?= Date: Mon, 8 Nov 2021 10:32:17 -0500 Subject: [PATCH] fix: package are broken again You cannot refer to a variable in the same statement as it is declared. --- zinit-install.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zinit-install.zsh b/zinit-install.zsh index 6ae053a7..81424a31 100644 --- a/zinit-install.zsh +++ b/zinit-install.zsh @@ -124,7 +124,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { builtin print -P "${ZINIT local user=$1 pkg=$2 plugin=$2 id_as=$3 dir=$4 profile=$5 \ local_path=${ZINIT[PLUGINS_DIR]}/${3//\//---} pkgjson \ tmpfile=${$(mktemp):-${TMPDIR:-/tmp}/zsh.xYzAbc123} \ - URL=https://raw.githubusercontent.com/zdharma-continuum/zinit-package-${pkg}/HEAD/package.json + URL=https://raw.githubusercontent.com/zdharma-continuum/zinit-package-$2/HEAD/package.json local pro_sep="{rst}, {profile}" epro_sep="{error}, {profile}" \ tool_sep="{rst}, {cmd}" \