handler: Resolve correctly dl-ice conflict with as-monitor

This commit is contained in:
Sebastian Gniazdowski 2020-05-14 17:56:03 +02:00
parent 9306a7c83b
commit 34255eb09e

View file

@ -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]}" )