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

if [[ CURRENT -eq 2 ]]; then
  compgen -k hosts
elif [[ CURRENT -eq 3 ]]; then
  compgen -k '(-l)'
else
  compgen -u
fi