We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f284d98 commit 5e16968Copy full SHA for 5e16968
completions/ssh-keygen
@@ -6,7 +6,7 @@ _comp_cmd_ssh_keygen()
6
_comp_initialize -n := -- "$@" || return
7
8
local IFS=$' \t\n' # for ${words[*]}
9
- local noargopts='!(-*|*[ aCIJjMNPSVWzbEFRDwfGKsTmnOrtY]*)'
+ local noargopts='!(-*|*[ aCIJjMNPSVWzbEFRDwfGKsTmnOrtYZ]*)'
10
# shellcheck disable=SC2254
11
case $prev in
12
-${noargopts}[aCIJjMNPSVWz])
@@ -152,6 +152,12 @@ _comp_cmd_ssh_keygen()
152
_comp_compgen -- -W 'find-principals check-novalidate sign verify'
153
return
154
;;
155
+ -${noargopts}Z)
156
+ local ciphers
157
+ _comp_compgen -v ciphers -x ssh query ciphers
158
+ _comp_compgen -- -W '"${ciphers[@]}"'
159
+ return
160
+ ;;
161
esac
162
163
_comp_compgen_set
0 commit comments