mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -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
|
@ -36,10 +36,9 @@ _pkg_get()
|
|||
return 1
|
||||
fi
|
||||
|
||||
i=${#COMP_WORDS[*]}
|
||||
local i=${#COMP_WORDS[*]}
|
||||
while [[ $i -gt 0 ]]; do
|
||||
i=$((i-1))
|
||||
if [[ "${COMP_WORDS[$i]}" == -s ]]; then
|
||||
if [[ "${COMP_WORDS[--i]}" == -s ]]; then
|
||||
url="${COMP_WORDS[$((i+1))]}"
|
||||
fi
|
||||
if [[ "${COMP_WORDS[$i]}" == @(-[aDdiUu]|available|describe|download|install|list|updatecatalog|upgrade) ]]; then
|
||||
|
@ -58,7 +57,7 @@ _pkg_get()
|
|||
return
|
||||
fi
|
||||
|
||||
if [[ ${cur} == -* ]] ; then
|
||||
if [[ ${cur} == -* ]]; then
|
||||
local opts="-c -d -D -f -i -l -s -S -u -U -v"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue