Skip to content

Commit

Permalink
fix: global variable in ∞zinit-file-cp-mv-operation
Browse files Browse the repository at this point in the history
  • Loading branch information
NICHOLAS85 committed Feb 1, 2025
1 parent b096d6e commit 4a4383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinit-install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ __zinit-cmake-base-hook () {
pairs=( ${(s[;])ICE[$ice_key]} ) # Split on semicolons
pairs=( "${pairs[@]//((#s)[[:space:]]##|[[:space:]]##(#e))/}" ) # Trim spaces

local retval=0
local pair retval=0
for pair in "${pairs[@]}"; do
if [[ $pair == *("->"|"→")* ]]; then
local from="${pair%%[[:space:]]#(->|→)*}"
Expand Down

0 comments on commit 4a4383e

Please sign in to comment.