diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-28 08:08:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-28 08:08:09 +0000 |
commit | b63dfb564eb8d48a8909998d39541c3afe9ae0e2 (patch) | |
tree | fa0d6a9484331dc0cf0278946391509b92d32e34 /Functions/Zle/predict-on | |
parent | 2bfb8fb2148c5022f785e850c542c89f467f6035 (diff) | |
download | zsh-b63dfb564eb8d48a8909998d39541c3afe9ae0e2.tar.gz zsh-b63dfb564eb8d48a8909998d39541c3afe9ae0e2.tar.xz zsh-b63dfb564eb8d48a8909998d39541c3afe9ae0e2.zip |
zsh-workers/8470
Diffstat (limited to 'Functions/Zle/predict-on')
-rw-r--r-- | Functions/Zle/predict-on | 2 |
1 files changed, 1 insertions, 1 deletions
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 |