Skip to content

Commit

Permalink
fix: package are broken again
Browse files Browse the repository at this point in the history
You cannot refer to a variable in the same statement as it is declared.
  • Loading branch information
docwhat committed Nov 8, 2021
1 parent eedc687 commit 24f10f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinit-install.zsh
Expand Up @@ -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}" \
Expand Down

0 comments on commit 24f10f6

Please sign in to comment.