1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

zsh-workers/9774

This commit is contained in:
Tanaka Akira 2000-02-17 12:45:59 +00:00
parent 8ac5e93d9e
commit 97cb373efc

View file

@ -64,7 +64,8 @@ cut_cline(Cline l)
q = p;
}
if (!e && q && !q->orig && !q->olen && (q->flags & CLF_MISS) &&
!(q->flags & CLF_MATCHED) && (q->word ? q->wlen : q->llen) < 3) {
(!(q->flags & CLF_MATCHED) || (!q->prefix && !q->suffix)) &&
(q->word ? q->wlen : q->llen) < 3) {
q->word = q->line = NULL;
q->wlen = q->llen = 0;
}