1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 09:41:44 +02:00

fix for completion of directories for zftp suite (11091)

This commit is contained in:
Sven Wischnowsky 2000-05-03 07:34:50 +00:00
parent d205f2530b
commit 7a83e27a6e
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2000-05-03 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
* 11091: Functions/Zftp/zfcd_match: fix for completion of
directories for zftp suite
* 11086: Src/builtin.c: allow calling `print -s' in widgets, avoid
duplicated history number

View file

@ -30,7 +30,7 @@ if [[ $ZFTP_SYSTEM = UNIX* ]]; then
rm -f $tmpf
[[ -n $dir && $dir != */ ]] && dir="$dir/"
if [[ -n $WIDGET ]]; then
_wanted directories expl 'remote directory'
_wanted directories expl 'remote directory' \
compadd -S/ -q -P "$dir" - $reply
elif [[ -n $dir ]]; then
reply=(${dir}$reply)