Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: CVS completer (Re: PATCH: Re: Completion/User functions again)
- X-seq: zsh-workers 7250
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: CVS completer (Re: PATCH: Re: Completion/User functions again)
- Date: Thu, 22 Jul 1999 08:43:28 +0200 (MET DST)
- In-reply-to: Tanaka Akira's message of 22 Jul 1999 00:43:27 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Tanaka Akira wrote:
> > I think it should be replaced by 'compadd "$PREFIX"'.
>
> The patch is follows.
Just for completeness' sake...
Bye
Sven
diff -u -r oc/Base/_complete_opts Completion/Base/_complete_opts
--- oc/Base/_complete_opts Thu Jul 22 08:35:45 1999
+++ Completion/Base/_complete_opts Thu Jul 22 08:41:05 1999
@@ -18,7 +18,7 @@
case "${#no_arg}-${#with_arg}" in
0-0)
if [[ x$PREFIX = x-* ]]; then
- compadd - "$PREFIX"
+ compadd -nQ - "$PREFIX$SUFFIX"
else
done=''
fi
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author