Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/1] autocompletion: make ssh aware of ed25519
- X-seq: zsh-workers 32316
- From: Christian Hesse <mail@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/1] autocompletion: make ssh aware of ed25519
- Date: Wed, 29 Jan 2014 09:14:05 +0100
- Cc: Christian Hesse <mail@xxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
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@xxxxxxxxxxx' \
'ecdsa-sha2-nistp384-cert-v01@xxxxxxxxxxx' \
'ecdsa-sha2-nistp521-cert-v01@xxxxxxxxxxx' \
+ 'ssh-ed25519-cert-v01@xxxxxxxxxxx' \
'ssh-rsa-cert-v01@xxxxxxxxxxx' \
'ssh-dss-cert-v01@xxxxxxxxxxx' \
'ssh-rsa-cert-v00@xxxxxxxxxxx' \
@@ -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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author