about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-25 14:41:48 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-25 14:41:48 +0000
commited8b5c01b0622a95134155b85832b49bda241986 (patch)
treead166f5d2aefa10f0a7d96087370a05762012c14 /Completion/User
parent39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03 (diff)
downloadzsh-ed8b5c01b0622a95134155b85832b49bda241986.tar.gz
zsh-ed8b5c01b0622a95134155b85832b49bda241986.tar.xz
zsh-ed8b5c01b0622a95134155b85832b49bda241986.zip
zsh-workers/9876
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_rlogin8
-rw-r--r--Completion/User/_ssh6
-rw-r--r--Completion/User/_user_at_host4
3 files changed, 9 insertions, 9 deletions
diff --git a/Completion/User/_rlogin b/Completion/User/_rlogin
index 738b6225f..df78bd447 100644
--- a/Completion/User/_rlogin
+++ b/Completion/User/_rlogin
@@ -54,21 +54,21 @@ _rlogin () {
 }
 
 _rlogin_users () {
-  _tags users && _combination my-accounts users-hosts users "$@"
+  _tags users && _combination -s '[:@]' my-accounts users-hosts users "$@"
 }
 
 _rlogin_hosts () {
   _tags hosts &&
       if [[ "$IPREFIX" == *@ ]]; then
-        _combination my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@"
+        _combination -s '[:@]' my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@"
       else
-        _combination my-accounts users-hosts \
+        _combination -s '[:@]' my-accounts users-hosts \
             ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@"
       fi
 }
 
 _rlogin_all_hosts () {
-  _tags hosts && _combination my-accounts users-hosts hosts "$@"
+  _tags hosts && _combination -s '[:@]' my-accounts users-hosts hosts "$@"
 }
 
 _rlogin "$@"
diff --git a/Completion/User/_ssh b/Completion/User/_ssh
index 82f959b37..ddfe6de63 100644
--- a/Completion/User/_ssh
+++ b/Completion/User/_ssh
@@ -223,14 +223,14 @@ _ssh () {
 }
 
 _ssh_users () {
-  _combination my-accounts users-hosts users "$@"
+  _combination -s '[:@]' my-accounts users-hosts users "$@"
 }
 
 _ssh_hosts () {
   if [[ "$IPREFIX" == *@ ]]; then
-    _combination my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@"
+    _combination -s '[:@]' my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@"
   else
-    _combination my-accounts users-hosts \
+    _combination -s '[:@]' my-accounts users-hosts \
       ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@"
   fi
 }
diff --git a/Completion/User/_user_at_host b/Completion/User/_user_at_host
index 1098d2342..c7b86d385 100644
--- a/Completion/User/_user_at_host
+++ b/Completion/User/_user_at_host
@@ -23,8 +23,8 @@ if [[ -prefix 1 *@ ]]; then
   compset -P 1 '*@'
 
   _wanted -C user-at hosts expl "host for $user" &&
-      _combination "${tag}" users-hosts users="$user" hosts "$expl[@]" "$@"
+      _combination -s '[:@]' "${tag}" users-hosts users="$user" hosts "$expl[@]" "$@"
 else
   _wanted users expl "user" &&
-      _combination "${tag}" users-hosts users -S@ -q "$expl[@]" "$@"
+      _combination -s '[:@]' "${tag}" users-hosts users -S@ -q "$expl[@]" "$@"
 fi