From b63dfb564eb8d48a8909998d39541c3afe9ae0e2 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 28 Oct 1999 08:08:09 +0000 Subject: zsh-workers/8470 --- Functions/Zle/predict-on | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on index f02a8138b..7c4133560 100644 --- a/Functions/Zle/predict-on +++ b/Functions/Zle/predict-on @@ -113,7 +113,7 @@ delete-no-predict() { predict-limit-list() { if (( compstate[list_lines]+BUFFERLINES > LINES || - compstate[nmatches] > compstate[list_max] )) + ( compstate[list_max] != 0 && compstate[nmatches] > compstate[list_max] ) )) then compstate[list]='' compstate[force_list]=yes -- cgit 1.4.1