From c3ab3670e8c056c5f0aa3302ca1c88091cc85490 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 21 Jan 2000 10:15:24 +0000 Subject: zsh-workers/9398 --- Functions/Zftp/zfget_match | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Zftp/zfget_match') diff --git a/Functions/Zftp/zfget_match b/Functions/Zftp/zfget_match index 875fca5f1..cd34c095c 100644 --- a/Functions/Zftp/zfget_match +++ b/Functions/Zftp/zfget_match @@ -17,7 +17,7 @@ if [[ $ZFTP_SYSTEM == UNIX* && $1 == */* ]]; then local reply reply=(${${${(f)"$(<$tmpf)"}##$dir}%\*}) rm -f $tmpf - _description expl 'remote file' + _description files expl 'remote file' compadd "$expl[@]" -P $dir - $reply else # On the first argument to ls, we usually get away with a glob. @@ -29,7 +29,7 @@ else local fcache_name zffcache if [[ -n $WIDGET ]]; then - _description expl 'remote file' + _description files expl 'remote file' compadd "$expl[@]" -F fignore - ${(P)fcache_name} else reply=(${(P)fcache_name}); -- cgit 1.4.1