Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Add PreferredAuthentications completion to _ssh
- X-seq: zsh-workers 29738
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: Add PreferredAuthentications completion to _ssh
- Date: Mon, 29 Aug 2011 17:29:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; bh=gGq8cBFPyWJDVhAp4JFdCw05Lv07pvs/yrnppZjqcC0=; b=qjiGwpICRDvWgawybbS2RvaLoyGSLoCdQkb+ootuXTiFVmT6aw0Xbh1W5hksdNycXP O1dA6Grqa4ujQd1IJUPxHz3zkehmPg99fX2YLlzrQZydw8ugslvE4HHUkI4ZOUWNuflu hLl82RmttYqkwVhztaYk8MYF/fO7SmySPqnXU=
- 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 | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 491eba6..7b7317a 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -225,6 +225,9 @@ _ssh () {
_description files expl 'path to control socket'
_files "$expl[@]" && ret=0
;;
+ *(#i)preferredauthentications*)
+ _values -s , 'authentication method' gssapi-with-mic \
+ hostbased publickey keyboard-interactive password && ret=0
esac
else
_wanted values expl 'configure file option' \
--
1.7.5.4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author