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
|
@ -16,11 +16,11 @@ _slackpkg()
|
|||
case "$prev" in
|
||||
-delall|-checkmd5|-checkgpg|-checksize|-postinst|-onoff|-download_all|\
|
||||
-dialog|-batch|-only_new_dotnew|-use_includes|-spinning)
|
||||
COMPREPLY=( $( compgen -W 'on off' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-default_answer)
|
||||
COMPREPLY=( $( compgen -W 'yes no' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'yes no' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-dialog_maxargs|-mirror)
|
||||
|
@ -33,10 +33,10 @@ _slackpkg()
|
|||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
compopt -o nospace
|
||||
COMPREPLY=( $( compgen -W '-delall= -checkmd5= -checkgpg=
|
||||
COMPREPLY=( $(compgen -W '-delall= -checkmd5= -checkgpg=
|
||||
-checksize= -postinst= -onoff= -download_all= -dialog=
|
||||
-dialog_maxargs= -batch= -only_new_dotnew= -use_includes=
|
||||
-spinning= -default_answer= -mirror=' -- "$cur" ) )
|
||||
-spinning= -default_answer= -mirror=' -- "$cur") )
|
||||
return
|
||||
fi
|
||||
|
||||
|
@ -61,42 +61,42 @@ _slackpkg()
|
|||
;;
|
||||
install-template|remove-template)
|
||||
if [[ -e $confdir/templates ]]; then
|
||||
COMPREPLY=( $( cd "$confdir/templates"; \
|
||||
compgen -f -X "!*.template" -- "$cur" ) )
|
||||
COMPREPLY=( $(cd "$confdir/templates"; \
|
||||
compgen -f -X "!*.template" -- "$cur") )
|
||||
COMPREPLY=( ${COMPREPLY[@]%.template} )
|
||||
fi
|
||||
return
|
||||
;;
|
||||
remove)
|
||||
_filedir
|
||||
COMPREPLY+=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur" ) )
|
||||
COMPREPLY+=( $( cd /var/log/packages; compgen -f -- "$cur" ) )
|
||||
COMPREPLY+=( $(compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur") )
|
||||
COMPREPLY+=( $(cd /var/log/packages; compgen -f -- "$cur") )
|
||||
return
|
||||
;;
|
||||
install|reinstall|upgrade|blacklist|download)
|
||||
_filedir
|
||||
COMPREPLY+=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur" ) )
|
||||
COMPREPLY+=( $( cut -f 6 -d\ "${WORKDIR}/pkglist" 2> /dev/null | \
|
||||
command grep "^$cur" ) )
|
||||
COMPREPLY+=( $(compgen -W 'a ap d e f k kde kdei l n t tcl x
|
||||
xap xfce y' -- "$cur") )
|
||||
COMPREPLY+=( $(cut -f 6 -d\ "${WORKDIR}/pkglist" 2>/dev/null | \
|
||||
command grep "^$cur") )
|
||||
return
|
||||
;;
|
||||
info)
|
||||
COMPREPLY=( $( cut -f 6 -d\ "${WORKDIR}/pkglist" 2> /dev/null | \
|
||||
command grep "^$cur" ) )
|
||||
COMPREPLY=( $(cut -f 6 -d\ "${WORKDIR}/pkglist" 2>/dev/null | \
|
||||
command grep "^$cur") )
|
||||
return
|
||||
;;
|
||||
update)
|
||||
# we should complete the same as the next `list` + "gpg"
|
||||
COMPREPLY=( $( compgen -W 'gpg' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'gpg' -- "$cur") )
|
||||
;&
|
||||
*)
|
||||
COMPREPLY+=( $( compgen -W 'install reinstall upgrade remove
|
||||
COMPREPLY+=( $(compgen -W 'install reinstall upgrade remove
|
||||
blacklist download update install-new upgrade-all
|
||||
clean-system new-config check-updates help generate-template
|
||||
install-template remove-template search file-search info' -- \
|
||||
"$cur" ) )
|
||||
"$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue