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

@ -6,23 +6,23 @@ _bzip2()
_init_completion || return
case $prev in
-b|-h|--help|-p)
--help|-!(-*)[bhp])
return
;;
-n)
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
-!(-*)n)
COMPREPLY=( $(compgen -W "{1..$(_ncpus)}" -- "$cur") )
return
;;
esac
if [[ "$cur" == -* ]]; then
local helpopts=$( _parse_help "$1" )
COMPREPLY=( $( compgen -W "${helpopts//#/} -2 -3 -4 -5 -6 -7 -8 -9" \
-- "$cur" ) )
local helpopts=$(_parse_help "$1")
COMPREPLY=( $(compgen -W "${helpopts//#/} -2 -3 -4 -5 -6 -7 -8 -9" \
-- "$cur") )
return
fi
local IFS=$'\n' xspec="*.bz2"
local IFS=$'\n' xspec="*.?(t)bz2"
if [[ "$prev" == --* ]]; then
[[ "$prev" == --@(decompress|list|test) ]] && xspec="!"$xspec
@ -35,8 +35,7 @@ _bzip2()
_tilde "$cur" || return
compopt -o filenames
COMPREPLY=( $( compgen -f -X "$xspec" -- "$cur" ) \
$( compgen -d -- "$cur" ) )
COMPREPLY=( $(compgen -f -X "$xspec" -- "$cur") $(compgen -d -- "$cur") )
} &&
complete -F _bzip2 bzip2 pbzip2 lbzip2