From 626e2aeb1657f112feb6d03c34bb9e9f44764c75 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 23 Mar 2000 04:19:26 +0000 Subject: zsh-workers/10195 --- Functions/Zftp/zfcd_match | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Functions/Zftp/zfcd_match') diff --git a/Functions/Zftp/zfcd_match b/Functions/Zftp/zfcd_match index 9734ba8e2..5108d447e 100644 --- a/Functions/Zftp/zfcd_match +++ b/Functions/Zftp/zfcd_match @@ -30,8 +30,7 @@ if [[ $ZFTP_SYSTEM = UNIX* ]]; then rm -f $tmpf [[ -n $dir && $dir != */ ]] && dir="$dir/" if [[ -n $WIDGET ]]; then - _description directories expl 'remote directory' - compadd "$expl[@]" -S/ -q -P "$dir" - $reply + _loop directories expl 'remote directory' compadd -S/ -q -P "$dir" - $reply elif [[ -n $dir ]]; then reply=(${dir}$reply) fi -- cgit 1.4.1