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

@ -10,24 +10,24 @@ _pdftotext()
return
;;
-enc)
COMPREPLY=( $( compgen -W '$( "$1" -listenc 2>/dev/null |
command sed -e 1d )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$("$1" -listenc 2>/dev/null |
command sed -e 1d)' -- "$cur") )
return
;;
-eol)
COMPREPLY=( $( compgen -W "unix dos mac" -- "$cur" ) )
COMPREPLY=( $(compgen -W "unix dos mac" -- "$cur") )
return
;;
esac
if [[ $cur == -* && ${prev,,} != *.pdf ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
return
fi
case ${prev,,} in
-|*.txt) ;;
*.pdf) COMPREPLY=( $( compgen -W '-' -- "$cur" ) ) ; _filedir txt ;;
*.pdf) COMPREPLY=( $(compgen -W '-' -- "$cur") ) ; _filedir txt ;;
*) _filedir pdf ;;
esac
} &&