diff options
Diffstat (limited to 'Functions/Zftp/zfcd_match')
-rw-r--r-- | Functions/Zftp/zfcd_match | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zftp/zfcd_match b/Functions/Zftp/zfcd_match index e9d283c97..9734ba8e2 100644 --- a/Functions/Zftp/zfcd_match +++ b/Functions/Zftp/zfcd_match @@ -30,8 +30,8 @@ if [[ $ZFTP_SYSTEM = UNIX* ]]; then rm -f $tmpf [[ -n $dir && $dir != */ ]] && dir="$dir/" if [[ -n $WIDGET ]]; then - _description expl 'remote directory' - compadd -S/ -q -P "$dir" - $reply + _description directories expl 'remote directory' + compadd "$expl[@]" -S/ -q -P "$dir" - $reply elif [[ -n $dir ]]; then reply=(${dir}$reply) fi |