about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-06 16:15:06 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-09-06 16:15:06 +0000
commit76524a7f7d294a0f70ca6b3a16f0f95ae96f9f7d (patch)
tree8427f0f41db0033bea8c2aaa3ca0dfa729ca327e /Completion/Unix
parentba3ebac710d2e1f27631626d69f251707ba1a8f6 (diff)
downloadzsh-76524a7f7d294a0f70ca6b3a16f0f95ae96f9f7d.tar.gz
zsh-76524a7f7d294a0f70ca6b3a16f0f95ae96f9f7d.tar.xz
zsh-76524a7f7d294a0f70ca6b3a16f0f95ae96f9f7d.zip
29738: _ssh: Add PreferredAuthentications completion.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_ssh3
1 files changed, 3 insertions, 0 deletions
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' \