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,24 +6,23 @@ _sysctl()
_init_completion || return
case $prev in
--help|--version)
--help|--version|--pattern|-!(-*)[hVr])
return
;;
-p)
--load|-!(-*)[pf])
_filedir conf
return
;;
esac
if [[ $cur == -* ]]; then
local opts="$( _parse_help "$1" )"
[[ $opts ]] || opts="$( _parse_usage "$1" )"
COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) )
local opts="$(_parse_help "$1")"
COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") )
else
local suffix=
[[ $prev == -w ]] && suffix==
COMPREPLY=( $( compgen -S "$suffix" -W \
"$( PATH="$PATH:/sbin" sysctl -N -a 2>/dev/null )" -- "$cur" ) )
[[ $prev == -w ]] && suffix="="
COMPREPLY=( $(compgen -S "$suffix" -W \
"$(PATH="$PATH:/sbin" $1 -N -a 2>/dev/null)" -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
fi
} &&