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

@ -9,22 +9,22 @@ _p4()
local p4commands p4filetypes
# rename isn't really a command
p4commands="$( p4 help commands 2>/dev/null | awk 'NF>3 {print $1}' )"
p4commands="$(p4 help commands 2>/dev/null | awk 'NF>3 {print $1}')"
p4filetypes="ctext cxtext ktext kxtext ltext tempobj ubinary \
uresource uxbinary xbinary xltext xtempobj xtext \
text binary resource"
if [[ $cword -eq 1 ]]; then
COMPREPLY=( $( compgen -W "$p4commands" -- "$cur" ) )
COMPREPLY=( $(compgen -W "$p4commands" -- "$cur") )
elif [[ $cword -eq 2 ]]; then
case $prev in
help)
COMPREPLY=( $( compgen -W "simple commands environment
COMPREPLY=( $(compgen -W "simple commands environment
filetypes jobview revisions usage views $p4commands" \
-- "$cur" ) )
-- "$cur") )
;;
admin)
COMPREPLY=( $( compgen -W "checkpoint stop" -- "$cur" ) )
COMPREPLY=( $(compgen -W "checkpoint stop" -- "$cur") )
;;
*)
;;
@ -34,7 +34,7 @@ _p4()
-t)
case ${words[$cword-2]} in
add|edit|reopen)
COMPREPLY=( $( compgen -W "$p4filetypes" -- "$cur" ) )
COMPREPLY=( $(compgen -W "$p4filetypes" -- "$cur") )
;;
*)
;;