mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 13:23:27 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -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") )
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue