1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-21 20:00:07 +00:00

Squashed 'gitstatus/' changes from cd98a3c2..eaf43011

eaf43011 when downloading gitstatusd, try curl/wget with user configs before trying without (https://github.com/romkatv/powerlevel10k/issues/1606)

git-subtree-dir: gitstatus
git-subtree-split: eaf43011246e359881931647747e8756a73a143a
This commit is contained in:
Roman Perepelitsa 2021-10-20 14:05:33 +02:00
parent 20eb8c64bf
commit 1af6385436

View file

@ -340,7 +340,7 @@ END
fi
fi
local cmd part url ret
for cmd in 'curl -q -kfsSL' 'wget --no-config -qO-' 'wget -qO-' 'curl -kfsSL'; do
for cmd in 'curl -kfsSL' 'wget -qO-' 'curl -q -kfsSL' 'wget --no-config -qO-'; do
part=0
while true; do
if [ "$part" = 2 ]; then