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,43 +6,42 @@ _complete()
_init_completion || return
case $prev in
-o)
COMPREPLY=( $( compgen -W 'bashdefault default dirnames filenames
nospace plusdirs' -- "$cur" ) )
-*o)
COMPREPLY=( $(compgen -W 'bashdefault default dirnames filenames
nospace plusdirs' -- "$cur") )
return
;;
-A)
COMPREPLY=( $( compgen -W 'alias arrayvar binding builtin command
-*A)
COMPREPLY=( $(compgen -W 'alias arrayvar binding builtin command
directory disabled enabled export file function group helptopic
hostname job keyword running service setopt shopt signal
stopped user variable' -- "$cur" ) )
stopped user variable' -- "$cur") )
return
;;
-C)
COMPREPLY=( $( compgen -A command -- "$cur" ) )
-*C)
COMPREPLY=( $(compgen -A command -- "$cur") )
return
;;
-F)
COMPREPLY=( $( compgen -A function -- "$cur" ) )
-*F)
COMPREPLY=( $(compgen -A function -- "$cur") )
return
;;
-p|-r)
COMPREPLY=( $( complete -p | command sed -e 's|.* ||' ) )
COMPREPLY=( $( compgen -W '${COMPREPLY[@]}' -- "$cur" ) )
-*p|-*r)
COMPREPLY=( $(complete -p | command sed -e 's|.* ||') )
COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- "$cur") )
return
;;
esac
if [[ "$cur" == -* ]]; then
# relevant options completion
local opts="-a -b -c -d -e -f -g -j -k -o -s -u -v -A -G -W -P -S -X"
[[ $1 != compgen ]] && opts+=" -F -C"
COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) )
COMPREPLY=( $(compgen -W "$opts" -- "$cur") )
else
COMPREPLY=( $( compgen -A command -- "$cur" ) )
COMPREPLY=( $(compgen -A command -- "$cur") )
fi
} &&
complete -F _complete compgen complete