1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-17 00:31:09 +02:00

22104: add support for new options such as ControlMaster and ControlPath.

This commit is contained in:
Clint Adams 2005-12-25 00:31:43 +00:00
parent ff8ae1ea79
commit 339989a273
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-12-25 Clint Adams <clint@zsh.org>
* 22104: Completion/Unix/Command/_ssh: add support
for new options such as ControlMaster and ControlPath.
2005-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Scott Murray <semurray@ntlworld.com>:

View file

@ -214,6 +214,13 @@ _ssh () {
_description files expl 'xauth program'
_files "$expl[@]" -g '*(-*)' && ret=0
;;
*(#i)controlmaster*)
_wanted values expl 'truthish value' compadd yes no auto autoask && ret=0
;;
*(#i)controlpath*)
_description files expl 'path to control socket'
_files "$expl[@]" && ret=0
;;
esac
else
_wanted values expl 'configure file option' \
@ -223,13 +230,14 @@ _ssh () {
ChallengeResponseAuthentication CheckHostIP \
Cipher Ciphers ClearAllForwardings Compression \
CompressionLevel ConnectionAttempts ConnectTimeout \
ControlMaster ControlPath \
DynamicForward EnableSSHKeysign \
EscapeChar FallBackToRsh ForwardAgent ForwardX11 \
ForwardX11Trusted \
GatewayPorts GlobalKnownHostsFile GSSAPIAuthentication \
GSSAPIDelegateCredentials HostbasedAuthentication \
HostKeyAlgorithms HostKeyAlias HostName IdentityFile \
IdentitiesOnly \
IdentitiesOnly KbdInteractiveDevices \
KeepAlive KerberosAuthentication KerberosTgtPassing \
LocalForward LogLevel MACs NoHostAuthenticationForLocalhost \
NumberOfPasswordPrompts PreferredAuthentications \