diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-12-25 00:31:43 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-12-25 00:31:43 +0000 |
commit | 339989a273188c269feeedf1e687347cb91101b3 (patch) | |
tree | cc279e951787a6eb72090ffa8ec737a7a6c4643f /Completion/Unix/Command | |
parent | ff8ae1ea79044ba57c6e06972e1e7a1f03afaa04 (diff) | |
download | zsh-339989a273188c269feeedf1e687347cb91101b3.tar.gz zsh-339989a273188c269feeedf1e687347cb91101b3.tar.xz zsh-339989a273188c269feeedf1e687347cb91101b3.zip |
22104: add support for new options such as ControlMaster and ControlPath.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_ssh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index bf695c4e2..53829fac0 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -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 \ |