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

@ -12,13 +12,13 @@ _ypmatch()
if [[ $cmd == ypmatch && $cword -eq 1 && ${#words[@]} -eq 3 ]]; then
map=${words[2]}
COMPREPLY=( $( compgen -W '$( ypcat $map 2>/dev/null | \
cut -d':' -f 1 )' -- "$cur" ) )
COMPREPLY=( $(compgen -W '$(ypcat $map 2>/dev/null | \
cut -d':' -f 1)' -- "$cur") )
else
[[ $cmd == ypmatch && $cword -ne 2 ]] && return
COMPREPLY=( $( compgen -W \
'$( printf "%s\n" $(ypcat -x 2>/dev/null | \
cut -d"\"" -f 2) )' -- "$cur" ) )
COMPREPLY=( $(compgen -W \
'$(printf "%s\n" $(ypcat -x 2>/dev/null | \
cut -d"\"" -f 2))' -- "$cur") )
fi
} &&
complete -F _ypmatch ypmatch ypcat