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

@ -2,31 +2,34 @@
_modinfo()
{
local cur prev words cword
_init_completion || return
local cur prev words cword split
_init_completion -s || return
case "$prev" in
-F|--field)
COMPREPLY=( $( compgen -W 'alias author depends description
--field|-!(-*)F)
COMPREPLY=( $(compgen -W 'alias author depends description
filename firmware license parm srcversion staging vermagic
version' -- "${cur,,}" ) )
version' -- "${cur,,}") )
return
;;
-k)
--set-version|-!(-*)k)
_kernel_versions
return
;;
esac
$split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-V --version -F --field -k -0 --null -a -d
-l -p -n' -- "$cur" ) )
local opts=$(_parse_help "$1")
COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi
local i version=$(uname -r)
for (( i=${#words[@]}-1; i>0; i-- )); do
if [[ ${words[i]} == -k ]]; then
if [[ ${words[i]} == -@(!(-*)k*|-set-version) ]]; then
version=${words[i+1]}
break
fi