summary refs log tree commit diff
path: root/Completion/User/_rlogin
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_rlogin')
-rw-r--r--Completion/User/_rlogin4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_rlogin b/Completion/User/_rlogin
index f84939ce9..bdfe2b44c 100644
--- a/Completion/User/_rlogin
+++ b/Completion/User/_rlogin
@@ -1,7 +1,7 @@
-#compdef rlogin rsh remsh rcp
+#compdef rlogin rsh remsh=rsh rcp
 
 _rlogin () {
-  case "${words[1]:t}" in
+  case "$service" in
   rlogin)
     _arguments -s \
       '-8[allow 8-Bit data]' \