ssh: Add -Q argument completion
This commit is contained in:
parent
d01427df59
commit
b6ffe261f8
@ -1,5 +1,11 @@
|
||||
# ssh(1) completion -*- shell-script -*-
|
||||
|
||||
_ssh_queries()
|
||||
{
|
||||
COMPREPLY+=( $( compgen -W \
|
||||
"cipher cipher-auth mac kex key protocol-version" -- "$cur" ) )
|
||||
}
|
||||
|
||||
_ssh_ciphers()
|
||||
{
|
||||
COMPREPLY+=( $( compgen -W '3des-cbc aes128-cbc aes192-cbc aes256-cbc
|
||||
@ -147,6 +153,10 @@ _ssh()
|
||||
_ssh_options
|
||||
return 0
|
||||
;;
|
||||
-Q)
|
||||
_ssh_queries "$1"
|
||||
return 0
|
||||
;;
|
||||
-w)
|
||||
_available_interfaces
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user