about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 07:34:50 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 07:34:50 +0000
commit7a83e27a6e4e4dfb606160ef1a179563f977b5fd (patch)
tree348e7b5482060bce2b7a936c26167ec1003cdca7
parentd205f2530b970462baa00784a2acf20526d596e6 (diff)
downloadzsh-7a83e27a6e4e4dfb606160ef1a179563f977b5fd.tar.gz
zsh-7a83e27a6e4e4dfb606160ef1a179563f977b5fd.tar.xz
zsh-7a83e27a6e4e4dfb606160ef1a179563f977b5fd.zip
fix for completion of directories for zftp suite (11091)
-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)