1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 09:41:44 +02:00

29738: _ssh: Add PreferredAuthentications completion.

This commit is contained in:
Mikael Magnusson 2011-09-06 16:15:06 +00:00
parent ba3ebac710
commit 76524a7f7d
2 changed files with 7 additions and 1 deletions

View file

@ -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 <schaefer@brasslantern.com>
* 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 $
*****************************************************

View file

@ -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' \