about summary refs log tree commit diff
path: root/Functions/Completion/_rlogin
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/_rlogin')
-rw-r--r--Functions/Completion/_rlogin9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Completion/_rlogin b/Functions/Completion/_rlogin
new file mode 100644
index 000000000..e36554f23
--- /dev/null
+++ b/Functions/Completion/_rlogin
@@ -0,0 +1,9 @@
+#defcomp rlogin rsh ssh
+
+if [[ -position 1 ]]; then
+  complist -k hosts
+elif [[ -position 2 ]]; then
+  complist -k '(-l)'
+else
+  complist -u
+fi