Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.1.6-pws-11: Completion suggestions + fixes + sorting tags
- X-seq: zsh-workers 9074
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: 3.1.6-pws-11: Completion suggestions + fixes + sorting tags
- Date: Thu, 16 Dec 1999 09:28:09 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Wed, 15 Dec 1999 18:35:32 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> ...
>
> BTW, predict-on is still using _style as well. Is this the correct fix?
The patch below won't make any difference in behaviour (since the
function is invoked from _main_complete, where $curcontext is empty),
but it is cleaner.
Bye
Sven
diff -ru ../z.old/Functions/Zle/predict-on Functions/Zle/predict-on
--- ../z.old/Functions/Zle/predict-on Thu Dec 16 09:24:42 1999
+++ Functions/Zle/predict-on Thu Dec 16 09:25:04 1999
@@ -119,7 +119,7 @@
then
compstate[list]=''
compstate[force_list]=yes
- elif zstyle ":completion${curcontext}:predict" list always ]]
+ elif zstyle ":completion:predict${curcontext}" list always ]]
then
compstate[force_list]=yes
fi
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author