Updated msys2 to msys2-base-x86_64-20200903

This commit is contained in:
Gator96100 2020-09-07 18:14:14 +02:00
commit 2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions

View file

@ -36,10 +36,9 @@ _pkg_get()
return 1
fi
i=${#COMP_WORDS[*]}
local i=${#COMP_WORDS[*]}
while [[ $i -gt 0 ]]; do
i=$((i-1))
if [[ "${COMP_WORDS[$i]}" == -s ]]; then
if [[ "${COMP_WORDS[--i]}" == -s ]]; then
url="${COMP_WORDS[$((i+1))]}"
fi
if [[ "${COMP_WORDS[$i]}" == @(-[aDdiUu]|available|describe|download|install|list|updatecatalog|upgrade) ]]; then
@ -58,7 +57,7 @@ _pkg_get()
return
fi
if [[ ${cur} == -* ]] ; then
if [[ ${cur} == -* ]]; then
local opts="-c -d -D -f -i -l -s -S -u -U -v"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return