Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zftp completion problem.
- X-seq: zsh-workers 11091
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zftp completion problem.
- Date: Wed, 3 May 2000 09:33:43 +0200 (MET DST)
- In-reply-to: Tanaka Akira's message of 03 May 2000 15:02:54 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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