summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Functions/Zftp/zfcd_match2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 96461d1c8..7089f88d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Functions/Zftp/zfcd_match b/Functions/Zftp/zfcd_match
index 8e2b6452a..e034ca016 100644
--- a/Functions/Zftp/zfcd_match
+++ b/Functions/Zftp/zfcd_match
@@ -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)