From 76524a7f7d294a0f70ca6b3a16f0f95ae96f9f7d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 6 Sep 2011 16:15:06 +0000 Subject: 29738: _ssh: Add PreferredAuthentications completion. --- ChangeLog | 5 ++++- Completion/Unix/Command/_ssh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2dd4a988e..26b0275b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * 29736: Doc/Zsh/mod_zutil.yo: mention when zstyle -t returns 1. + * 29738: Completion/Unix/Command/_ssh: Add PreferredAuthentications + completion. + 2011-09-05 Barton E. Schaefer * users/16302: Completion/Unix/Type/_path_files: pattern matching @@ -15369,5 +15372,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5454 $ +* $Revision: 1.5455 $ ***************************************************** diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index 491eba6f2..7b7317a42 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' \ -- cgit 1.4.1