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 c763d52Copy full SHA for c763d52
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,10 @@ _comp_cmd_ssh_keygen()
152
_comp_compgen -- -W 'find-principals check-novalidate sign verify'
153
return
154
;;
155
+ -${noargopts}Z)
156
+ _comp_compgen -x ssh query ciphers
157
+ return
158
+ ;;
159
esac
160
161
_comp_compgen_set
0 commit comments