From 7a0415cfd70a02b2280d27556c6c54cef1c86e1a Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:18:42 +0000 Subject: zsh-3.1.5-pws-11 --- Completion/User/_rlogin | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Completion/User/_rlogin') diff --git a/Completion/User/_rlogin b/Completion/User/_rlogin index e36554f23..5d6daef9b 100644 --- a/Completion/User/_rlogin +++ b/Completion/User/_rlogin @@ -1,9 +1,9 @@ #defcomp rlogin rsh ssh -if [[ -position 1 ]]; then - complist -k hosts -elif [[ -position 2 ]]; then - complist -k '(-l)' +if [[ CURRENT -eq 2 ]]; then + compgen -k hosts +elif [[ CURRENT -eq 3 ]]; then + compgen -k '(-l)' else - complist -u + compgen -u fi -- cgit 1.4.1