Msys2 base update to msys2-base-x86_64-20210215

This commit is contained in:
Gator96100 2021-03-02 12:57:20 +01:00
commit 8f57ce888b
4308 changed files with 50038 additions and 28648 deletions

View file

@ -9,28 +9,28 @@ _sh()
-c)
return
;;
-o|+o)
COMPREPLY=( $(compgen -W 'allexport errexit ignoreeof monitor
-o | +o)
COMPREPLY=($(compgen -W 'allexport errexit ignoreeof monitor
noclobber noglob noexec nolog notify nounset verbose vi
xtrace' -- "$cur") )
xtrace' -- "$cur"))
return
;;
esac
local opts="-a -b -C -e -f -h -i -m -n -o -u -v -x"
if [[ "$cur" == -* ]]; then
COMPREPLY=( $(compgen -W "$opts -c -s" -- "$cur") )
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W "$opts -c -s" -- "$cur"))
return
elif [[ "$cur" == +* ]]; then
COMPREPLY=( $(compgen -W "${opts//-/+}" -- "$cur") )
elif [[ $cur == +* ]]; then
COMPREPLY=($(compgen -W "${opts//-/+}" -- "$cur"))
return
fi
local args ext=
_count_args "" "@(-c|[-+]o)"
[[ $args -eq 1 ]] && ext=sh
((args == 1)) && ext="sh"
_filedir $ext
} &&
complete -F _sh sh
complete -F _sh sh
# ex: filetype=sh