Skip to content

Commit

Permalink
fix: link ice check in .zinit-download-snippet function (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdoster authored Dec 16, 2023
1 parent 0ba778a commit 358ef03
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 @@ -1194,7 +1194,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
"accessible (wrong permissions).{rst}"
retval=4
}
if ! (( ${+ICE[link] )) {
if ! (( ${+ICE[link]} )) {
if (( !OPTS[opt_-q,--quiet] )) && [[ $url != /dev/null ]] {
+zi-log "{msg}Copying {file}$filename{msg}{…}{rst}"
command cp -vf "$url" "$local_dir/$dirname/$filename" || \
Expand Down

0 comments on commit 358ef03

Please sign in to comment.