diff options
Diffstat (limited to 'Completion/User/_ssh')
-rw-r--r-- | Completion/User/_ssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_ssh b/Completion/User/_ssh index a3a74e1cb..9190c2b67 100644 --- a/Completion/User/_ssh +++ b/Completion/User/_ssh @@ -44,7 +44,7 @@ ssh-opt) case "$lstate" in option) - if compset -P '* '; then + if compset -P '*[= ]'; then case "$IPREFIX" in *(#i)(batchmode|compression|fallbacktorsh|forward(agent|x11)|keepalive|passwordauthentication|rhosts(|rsa)authentication|rsaauthentication|usersh|kerberos(authetication|tgtparsing)|usepriviledgedport)*) compadd yes no && ret=0 @@ -92,7 +92,7 @@ ssh-opt) esac else _description expl 'configure file option' - compadd "$expl[@]" -M 'm:{a-z}={A-Z}' -S ' ' - \ + compadd "$expl[@]" -M 'm:{a-z}={A-Z}' -S '=' - \ BatchMode ClearAllForwardings Cipher Compression CompressionLevel \ Host ConnectionAttempts EscapeChar FallBackToRsh ForwardAgent \ ForwardX11 GlobalKnownHostsFile HostName IdentityFile KeepAlive \ |