@@ -662,9 +662,9 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
662
662
663
663
if (( ${+commands[curl]} )); then
664
664
if [[ -n $progress ]]; then
665
- command curl --tcp-fastopen -- progress-bar -fSL "$url" 2> >($ZINIT[BIN_DIR]/share/single-line.zsh >&2) || return 1
665
+ command curl --progress-bar -fSL "$url" 2> >($ZINIT[BIN_DIR]/share/single-line.zsh >&2) || return 1
666
666
else
667
- command curl --tcp-fastopen - fsSL "$url" || return 1
667
+ command curl -fsSL "$url" || return 1
668
668
fi
669
669
elif (( ${+commands[wget]} )); then
670
670
command wget ${${progress:--q}:#1} "$url" -O - || return 1
@@ -681,9 +681,9 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
681
681
} else {
682
682
if type curl 2>/dev/null 1>&2; then
683
683
if [[ -n $progress ]]; then
684
- command curl --tcp-fastopen -- progress-bar -fSL "$url" 2> >($ZINIT[BIN_DIR]/share/single-line.zsh >&2) || return 1
684
+ command curl --progress-bar -fSL "$url" 2> >($ZINIT[BIN_DIR]/share/single-line.zsh >&2) || return 1
685
685
else
686
- command curl --tcp-fastopen - fsSL "$url" || return 1
686
+ command curl -fsSL "$url" || return 1
687
687
fi
688
688
elif type wget 2>/dev/null 1>&2; then
689
689
command wget ${${progress:--q}:#1} "$url" -O - || return 1
@@ -713,7 +713,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
713
713
}
714
714
715
715
if (( ${+commands[curl]} )) || type curl 2>/dev/null 1>&2; then
716
- cmd=(command curl --tcp-fastopen - sIL "$url")
716
+ cmd=(command curl -sIL "$url")
717
717
elif (( ${+commands[wget]} )) || type wget 2>/dev/null 1>&2; then
718
718
cmd=(command wget --server-response --spider -q "$url" -O -)
719
719
else
0 commit comments