parent
eeb33f99ce
commit
a535d6d789
|
|
@ -225,7 +225,7 @@ _openvpn3_command() {
|
||||||
_describe -t commands 'openvpn3 commands' openvpn3_cmds
|
_describe -t commands 'openvpn3 commands' openvpn3_cmds
|
||||||
else
|
else
|
||||||
local curcontext="$curcontext"
|
local curcontext="$curcontext"
|
||||||
cmd="${${_openvpn3_cmds[(r)$words[1]:*]%%:*}}"
|
cmd="${${openvpn3_cmds[(r)$words[1]:*]%%:*}}"
|
||||||
if (($#cmd)); then
|
if (($#cmd)); then
|
||||||
if (( $+functions[_openvpn3_$cmd] )); then
|
if (( $+functions[_openvpn3_$cmd] )); then
|
||||||
_openvpn3_$cmd
|
_openvpn3_$cmd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue