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

@ -11,9 +11,9 @@ _getconf()
return
;;
-v)
COMPREPLY=( $( compgen -W \
'$( "$1" -a 2>/dev/null | awk "{ print \$1 }" )' -- \
"${cur:-POSIX_V}" ) )
COMPREPLY=( $(compgen -W \
'$("$1" -a 2>/dev/null | awk "{ print \$1 }")' -- \
"${cur:-POSIX_V}") )
return
;;
esac
@ -21,10 +21,12 @@ _getconf()
if [[ $prev == PATH_MAX ]]; then # TODO more path vars, better handling
_filedir
elif [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '-a -v' -- "$cur" ) )
COMPREPLY=( $(compgen -W '-a -v' -- "$cur") )
else
COMPREPLY=( $( compgen -W \
'$( "$1" -a 2>/dev/null | awk "{ print \$1 }" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W \
'$("$1" -a 2>/dev/null | awk "{ print \$1 }")' -- "$cur") )
fi
} &&
complete -F _getconf getconf
# ex: filetype=sh