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

@ -1,21 +1,26 @@
# iconv(1) completion -*- shell-script -*-
_iconv_charsets()
{
COMPREPLY+=( $(compgen -X ... -W '$(${1:-iconv} -l | \
command sed -e "s@/*\$@@" -e "s/[,()]//g")' -- "$cur") )
}
_iconv()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
-'?'|--help|--usage|-V|--version|--unicode-subst|--byte-subst|\
--widechar-subst)
--help|--usage|--version|--unicode-subst|--byte-subst|\
--widechar-subst|-!(-*)[?V])
return
;;
-f|--from-code|-t|--to-code)
COMPREPLY=( $( compgen -W '$( iconv -l | \
command sed -e "s@/*\$@@" -e "s/[,()]//g" )' -- "$cur" ) )
--from-code|--to-code|-!(-*)[ft])
_iconv_charsets $1
return
;;
-o|--output)
--output|-!(-*)o)
_filedir
return
;;
@ -24,7 +29,7 @@ _iconv()
$split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
fi
} &&