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

@ -16,24 +16,23 @@ _postmap()
esac
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
return
fi
if [[ "$cur" == *:* ]]; then
compopt -o filenames
COMPREPLY=( $( compgen -f -- "${cur#*:}" ) )
COMPREPLY=( $(compgen -f -- "${cur#*:}") )
else
local len=${#cur} idx=0 pval
for pval in $( /usr/sbin/postconf -m 2>/dev/null ); do
local len=${#cur} pval
for pval in $(/usr/sbin/postconf -m 2>/dev/null); do
if [[ "$cur" == "${pval:0:$len}" ]]; then
COMPREPLY[$idx]="$pval:"
idx=$(($idx+1))
COMPREPLY+=( "$pval:" )
fi
done
if [[ $idx -eq 0 ]]; then
if [[ ! $COMPREPLY ]]; then
compopt -o filenames
COMPREPLY=( $( compgen -f -- "$cur" ) )
COMPREPLY=( $(compgen -f -- "$cur") )
fi
fi
} &&