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..69fdebe13
--- /dev/null
+++ b/Functions/Completion/__rlogin
@@ -0,0 +1,9 @@
+#function rlogin rsh ssh
+
+if [[ -position 1 ]]; then
+  complist -k hosts
+elif [[ -position 2 ]]; then
+  complist -k '(-l)'
+else
+  complist -u
+fi