zsh-workers
 help / color / mirror / code / Atom feed
From: Christian Hesse <mail@eworm.de>
To: zsh-workers@zsh.org
Cc: Christian Hesse <mail@eworm.de>
Subject: [PATCH 1/1] autocompletion: make ssh aware of ed25519
Date: Wed, 29 Jan 2014 09:14:05 +0100	[thread overview]
Message-ID: <1390983245-5898-1-git-send-email-mail@eworm.de> (raw)

---
 Completion/Unix/Command/_ssh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 3e499b8..2be5672 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
           ;;
-- 
1.8.5.3


             reply	other threads:[~2014-01-29  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29  8:14 Christian Hesse [this message]
2014-01-29 15:51 ` Christian Neukirchen
2014-01-29 16:39   ` Axel Beckert
2014-01-29 18:02     ` Phil Pennock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390983245-5898-1-git-send-email-mail@eworm.de \
    --to=mail@eworm.de \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).