1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-25 16:31:57 +00:00

Squashed 'gitstatus/' changes from ec9c39499..830aaa999

830aaa999 try wget without --no-config if it fails with

git-subtree-dir: gitstatus
git-subtree-split: 830aaa99976c0f5addedf336414f9bf82e2699d6
This commit is contained in:
Roman Perepelitsa 2020-06-08 10:52:47 +02:00
parent 54c9822834
commit b93f9663c5

View file

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