summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-01-29 09:14:05 +0100
committerPeter Stephenson <pws@zsh.org>2014-01-29 09:24:54 +0000
commit0ab7834a153ea0414567897cc107a4fe235fabb3 (patch)
tree60313eee85d6b17a3850af5a5ce4b586efef38c1 /Completion/Unix/Command
parent8d3d34cfa46c1bfdd0e473e3942edfa45f66e47c (diff)
downloadzsh-0ab7834a153ea0414567897cc107a4fe235fabb3.tar.gz
zsh-0ab7834a153ea0414567897cc107a4fe235fabb3.tar.xz
zsh-0ab7834a153ea0414567897cc107a4fe235fabb3.zip
32316: complete new ssh key type
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_ssh4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 3e499b8d0..2be5672da 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -108,7 +108,7 @@ _ssh () {
     _arguments \
       '-q[silence ssh-keygen]' \
       "($cmds -P)-b[specify number of bits in key]:bits in key" \
-      "($cmds -P)-t[specify the type of the key to create]:key type:(rsa1 rsa dsa ecdsa)" \
+      "($cmds -P)-t[specify the type of the key to create]:key type:(rsa1 rsa dsa ecdsa ed25519)" \
       "(${cmds#-p })-N[provide new passphrase]:new passphrase" \
       "($cmds -b -t)-C[provide new comment]:new comment" \
       '(-D)-f[key file]:key file:_files' \
@@ -223,6 +223,7 @@ _ssh () {
               'ecdsa-sha2-nistp256-cert-v01@openssh.com' \
               'ecdsa-sha2-nistp384-cert-v01@openssh.com' \
               'ecdsa-sha2-nistp521-cert-v01@openssh.com' \
+              'ssh-ed25519-cert-v01@openssh.com' \
               'ssh-rsa-cert-v01@openssh.com' \
               'ssh-dss-cert-v01@openssh.com' \
               'ssh-rsa-cert-v00@openssh.com' \
@@ -230,6 +231,7 @@ _ssh () {
               'ecdsa-sha2-nistp256' \
               'ecdsa-sha2-nistp384' \
               'ecdsa-sha2-nistp521' \
+              'ssh-ed25519' \
               'ssh-rsa' \
               'ssh-dss' && ret=0
           ;;