mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: link ice check in .zinit-download-snippet function (#608)
This commit is contained in:
parent
0ba778ac73
commit
358ef03785
|
|
@ -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" || \
|
||||
|
|
|
|||
Loading…
Reference in a new issue