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
|
@ -10,7 +10,7 @@ _ipsec_connections()
|
|||
if [[ $keyword == [#]* ]]; then continue; fi
|
||||
[[ $keyword == conn && $name != '%default' ]] && COMPREPLY+=( "$name" )
|
||||
done
|
||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]}' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- "$cur") )
|
||||
}
|
||||
|
||||
_ipsec_freeswan()
|
||||
|
@ -19,28 +19,27 @@ _ipsec_freeswan()
|
|||
_init_completion || return
|
||||
|
||||
if [[ $cword -eq 1 ]]; then
|
||||
COMPREPLY=( $( compgen -W 'auto barf eroute klipsdebug look manual
|
||||
COMPREPLY=( $(compgen -W 'auto barf eroute klipsdebug look manual
|
||||
pluto ranbits rsasigkey setup showdefaults showhostkey spi spigrp
|
||||
tncfg whack' -- "$cur" ) )
|
||||
tncfg whack' -- "$cur") )
|
||||
return
|
||||
fi
|
||||
|
||||
case ${words[1]} in
|
||||
auto)
|
||||
COMPREPLY=( $( compgen -W '--asynchronous --up --add --delete
|
||||
COMPREPLY=( $(compgen -W '--asynchronous --up --add --delete
|
||||
--replace --down --route --unroute --ready --status
|
||||
--rereadsecrets' -- "$cur" ) )
|
||||
--rereadsecrets' -- "$cur") )
|
||||
;;
|
||||
manual)
|
||||
COMPREPLY=( $( compgen -W '--up --down --route --unroute --union' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--up --down --route --unroute --union' \
|
||||
-- "$cur") )
|
||||
;;
|
||||
ranbits)
|
||||
COMPREPLY=( $( compgen -W '--quick --continuous --bytes' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--quick --continuous --bytes' -- "$cur") )
|
||||
;;
|
||||
setup)
|
||||
COMPREPLY=( $( compgen -W '--start --stop --restart' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--start --stop --restart' -- "$cur") )
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
@ -53,7 +52,7 @@ _ipsec_strongswan()
|
|||
_init_completion || return
|
||||
|
||||
if [[ $cword -eq 1 ]]; then
|
||||
COMPREPLY=( $( compgen -W 'down irdumm leases listaacerts listacerts
|
||||
COMPREPLY=( $(compgen -W 'down irdumm leases listaacerts listacerts
|
||||
listalgs listall listcacerts listcainfos listcards listcerts
|
||||
listcrls listgroups listocsp listocspcerts listpubkeys openac pki
|
||||
pluto pool purgecerts purgecrls purgeike purgeocsp ready reload
|
||||
|
@ -61,25 +60,25 @@ _ipsec_strongswan()
|
|||
rereadgroups rereadocspcerts rereadsecrets restart route scdecrypt
|
||||
scencrypt scepclient secrets start starter status statusall stop
|
||||
stroke unroute uci up update version whack --confdir --copyright
|
||||
--directory --help --version --versioncode' -- "$cur" ) )
|
||||
--directory --help --version --versioncode' -- "$cur") )
|
||||
return
|
||||
fi
|
||||
|
||||
case ${words[1]} in
|
||||
down|route|status|statusall|unroute|up)
|
||||
local confdir=$( ipsec --confdir )
|
||||
_ipsec_connections < "$confdir/ipsec.conf"
|
||||
local confdir=$(ipsec --confdir)
|
||||
_ipsec_connections <"$confdir/ipsec.conf"
|
||||
;;
|
||||
list*)
|
||||
COMPREPLY=( $( compgen -W '--utc' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--utc' -- "$cur") )
|
||||
;;
|
||||
restart|start)
|
||||
COMPREPLY=( $( compgen -W '--attach-gdb --auto-update --debug
|
||||
--debug-all --debug-more --nofork' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--attach-gdb --auto-update --debug
|
||||
--debug-all --debug-more --nofork' -- "$cur") )
|
||||
;;
|
||||
pki)
|
||||
COMPREPLY=( $( compgen -W '--gen --issue --keyid --print --pub
|
||||
--req --self --signcrl --verify' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '--gen --issue --keyid --print --pub
|
||||
--req --self --signcrl --verify' -- "$cur") )
|
||||
;;
|
||||
pool)
|
||||
;;
|
||||
|
@ -91,7 +90,7 @@ _ipsec_strongswan()
|
|||
esac
|
||||
}
|
||||
|
||||
case "$( ipsec --version 2>/dev/null )" in
|
||||
case "$(ipsec --version 2>/dev/null)" in
|
||||
*strongSwan*)
|
||||
complete -F _ipsec_strongswan ipsec
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue