From ce8aa434cac8104f649ad5119f18876c767c5731 Mon Sep 17 00:00:00 2001 From: vladislav doster <10052309+vladdoster@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:39:08 -0500 Subject: [PATCH] fix(zinit-install): simplify protocol pattern --- zinit-install.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zinit-install.zsh b/zinit-install.zsh index 1ed3c4665..782546c22 100644 --- a/zinit-install.zsh +++ b/zinit-install.zsh @@ -414,7 +414,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { ) || return $? } elif [[ $tpe = github ]] { case ${ICE[proto]} in - (|https|git|http|ftp|ftps|rsync|ssh) + (|ftp(s|)|http(s|)|git|rsync|ssh) :zinit-git-clone() { command git clone --progress ${(s: :)ICE[cloneopts]---recursive} \ ${(s: :)ICE[depth]:+--depth ${ICE[depth]}} \