about summary refs log tree commit diff
path: root/Completion/User/_ssh
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-13 09:43:55 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-13 09:43:55 +0000
commit679b7a7599762d80928fff86b7b7a5e87997074b (patch)
tree674aab2cc3896a572cd4b6e5cae9fa17dfa52921 /Completion/User/_ssh
parentc7916dd663a5ac0bb7cc30faf19e229d23777667 (diff)
downloadzsh-679b7a7599762d80928fff86b7b7a5e87997074b.tar.gz
zsh-679b7a7599762d80928fff86b7b7a5e87997074b.tar.xz
zsh-679b7a7599762d80928fff86b7b7a5e87997074b.zip
zsh-workers/7790
Diffstat (limited to 'Completion/User/_ssh')
-rw-r--r--Completion/User/_ssh4
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 \