about summary refs log tree commit diff
path: root/Functions/Completion/__rlogin
blob: 69fdebe13e9e87cc39682b3d92c2e23a4ae84287 (plain) (blame)
1
2
3
4
5
6
7
8
9
#function rlogin rsh ssh

if [[ -position 1 ]]; then
  complist -k hosts
elif [[ -position 2 ]]; then
  complist -k '(-l)'
else
  complist -u
fi