about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-11-20 16:12:20 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-11-20 16:12:20 +0000
commit4eb4d5e0d66e50edb1297ef8c879ead8149c3aef (patch)
tree8e9e18f2ef1f551f4d2054f0bb8156aec62b85d8 /Completion/User
parentdcc45ed860f24c2103377f5782bffefbfc12bb63 (diff)
downloadzsh-4eb4d5e0d66e50edb1297ef8c879ead8149c3aef.tar.gz
zsh-4eb4d5e0d66e50edb1297ef8c879ead8149c3aef.tar.xz
zsh-4eb4d5e0d66e50edb1297ef8c879ead8149c3aef.zip
Tweak auto-suffix-removal for _rcp and _scp.
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_rlogin4
-rw-r--r--Completion/User/_ssh2
2 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_rlogin b/Completion/User/_rlogin
index abc6f116e..f84939ce9 100644
--- a/Completion/User/_rlogin
+++ b/Completion/User/_rlogin
@@ -40,11 +40,11 @@ _rlogin () {
       if compset -P '*:'; then
 	_files && ret=0
       elif compset -P '*@'; then
-        _wanted hosts expl host _rlogin_hosts -S: -q && ret=0
+        _wanted hosts expl host _rlogin_hosts -S: && ret=0
       else
         _alternative \
 	    'files:: _files' \
-	    'hosts:: _rlogin_all_hosts -qS:' \
+	    'hosts:: _rlogin_all_hosts -S:' \
 	    'users:: _rlogin_users -qS@' && ret=0
       fi
     fi
diff --git a/Completion/User/_ssh b/Completion/User/_ssh
index a52de5681..c6a6898f1 100644
--- a/Completion/User/_ssh
+++ b/Completion/User/_ssh
@@ -190,7 +190,7 @@ _ssh () {
         _alternative \
 	    'files:: _files' \
 	    'hosts:host:_ssh_hosts -S:' \
-	    'users:user:_ssh_users -S@' && ret=0
+	    'users:user:_ssh_users -qS@' && ret=0
       fi
     fi
     return ret