summary refs log tree commit diff
path: root/Completion/User/_rlogin
blob: e36554f239def3a2d7276526e36210dcb22872c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#defcomp rlogin rsh ssh

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