Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zftp completion problem.



Tanaka Akira wrote:

> I found a problem with zftp completion.
> 
> Z(4):akr@serein% Src/zsh -f
> serein% bindkey -e; autoload -U compinit; compinit -D 
> serein% autoload -U zfinit; zfinit
> serein% zfanon ftp.zsh.org
> Using akr@xxxxxxxxxxxxxxx as anonymous FTP password.
> 
> serein% zfls <TAB>_all_labels:39: command not found: -J
> bin   etc   mla   pub   usr   zsh

Oops. Missing backslash.

Bye
 Sven

Index: Functions/Zftp/zfcd_match
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Zftp/zfcd_match,v
retrieving revision 1.4
diff -u -r1.4 zfcd_match
--- Functions/Zftp/zfcd_match	2000/04/11 07:57:57	1.4
+++ Functions/Zftp/zfcd_match	2000/05/03 07:33:17
@@ -30,7 +30,7 @@
   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)

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author