mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 21:33:21 -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,17 +9,17 @@ _sitecopy()
|
|||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
--debug|-d)
|
||||
COMPREPLY=( $( compgen -W "socket files rcfile ftp http httpbody
|
||||
rsh sftp xml xmlparse cleartext" -- "$cur" ) )
|
||||
--debug|-!(-*)d)
|
||||
COMPREPLY=( $(compgen -W "socket files rcfile ftp http httpbody
|
||||
rsh sftp xml xmlparse cleartext" -- "$cur") )
|
||||
compopt -o nospace
|
||||
return
|
||||
;;
|
||||
--logfile|-g|--rcfile|-r)
|
||||
--logfile|--rcfile|-!(-*)[gr])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--storepath|-p)
|
||||
--storepath|-!(-*)p)
|
||||
_filedir -d
|
||||
return
|
||||
;;
|
||||
|
@ -27,7 +27,7 @@ _sitecopy()
|
|||
|
||||
case $cur in
|
||||
--*)
|
||||
COMPREPLY=( $( compgen -W "$(_parse_help $1)" -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W "$(_parse_help $1)" -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
;;
|
||||
|
@ -41,8 +41,8 @@ _sitecopy()
|
|||
esac
|
||||
|
||||
if [[ -r ~/.sitecopyrc ]]; then
|
||||
COMPREPLY=( $( compgen -W "$($1 -v | \
|
||||
command sed -n '/^Site:/s/Site: //p')" -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W "$($1 -v | \
|
||||
command sed -n '/^Site:/s/Site: //p')" -- "$cur") )
|
||||
fi
|
||||
} &&
|
||||
complete -F _sitecopy -o default sitecopy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue