diff --git a/→za-patch-dl-handler b/→za-patch-dl-handler index f910f91..1571d78 100644 --- a/→za-patch-dl-handler +++ b/→za-patch-dl-handler @@ -47,7 +47,7 @@ setopt extendedglob warncreateglobal typesetsilent noshortloops return 0 } # }}} -if [[ -n ${ZINIT_ICE[dl]} && ${ZINIT_ICE[dl]} != link(http(|s)|ftp(s|)|scp|ssh)://* ]] { +if [[ -n ${ZINIT_ICE[dl]} && ${ZINIT_ICE[dl]} != ink[-/[:alpha:]]* ]] { local -a dls srcdst dls=( "${(s.;.)ZINIT_ICE[dl]}" )