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
|
@ -6,23 +6,23 @@ _ss()
|
|||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
-h|--help|-V|--version)
|
||||
--help|--version|-!(-*)[hV])
|
||||
return
|
||||
;;
|
||||
-f|--family)
|
||||
COMPREPLY=( $( compgen -W 'unix inet inet6 link netlink' \
|
||||
-- "$cur" ) )
|
||||
--family|-!(-*)f)
|
||||
COMPREPLY=( $(compgen -W 'unix inet inet6 link netlink' \
|
||||
-- "$cur") )
|
||||
return
|
||||
;;
|
||||
-A|--query)
|
||||
--query|-!(-*)A)
|
||||
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
|
||||
COMPREPLY=( $( compgen -W '$( "$1" --help | \
|
||||
command sed -e "s/|/ /g" -ne "s/.*QUERY := {\([^}]*\)}.*/\1/p" )' \
|
||||
-- "${cur##*,}" ) )
|
||||
COMPREPLY=( $(compgen -W '$("$1" --help | \
|
||||
command sed -e "s/|/ /g" -ne "s/.*QUERY := {\([^}]*\)}.*/\1/p")' \
|
||||
-- "${cur##*,}") )
|
||||
[[ ${#COMPREPLY[@]} -eq 1 ]] && COMPREPLY=( ${COMPREPLY/#/$prefix} )
|
||||
return
|
||||
;;
|
||||
-D|--diag|-F|--filter)
|
||||
--diag|--filter|-!(-*)[DF])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
|
@ -31,7 +31,7 @@ _ss()
|
|||
$split && return
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
fi
|
||||
} &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue