Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: RE: What happened to _path_files?
- X-seq: zsh-workers 8206
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: BUG: RE: What happened to _path_files?
- Date: Mon, 11 Oct 1999 14:31:29 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Mon, 11 Oct 1999 15:25:13 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> It looks, like ambiguous completion does not work any more. It is not
> _path_files - it works correctly and compadd's all needed info. But for whatever
> reason completion C-code does not like it.
Only if the thing starts with a slash, right? The PREFIX parameter
wasn't set correctly.
Bye
Sven
diff -u oldcompletion/Core/_path_files Completion/Core/_path_files
--- oldcompletion/Core/_path_files Mon Oct 11 13:30:19 1999
+++ Completion/Core/_path_files Mon Oct 11 14:30:01 1999
@@ -354,10 +354,10 @@
# it as far as possible.
if [[ "$tmp3" = */* ]]; then
- PREFIX="${linepath}${cpre}${tmp3%%/*}"
+ PREFIX="${donepath}${linepath}${cpre}${tmp3%%/*}"
SUFFIX="/${tmp3#*/}"
else
- PREFIX="${linepath}${cpre}${tmp3}"
+ PREFIX="${donepath}${linepath}${cpre}${tmp3}"
SUFFIX=""
fi
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author