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

zsh-workers/8215

This commit is contained in:
Tanaka Akira 1999-10-12 07:20:00 +00:00
parent 2dc06f464c
commit df53b49ccd

View file

@ -577,8 +577,17 @@ acceptlast(void)
zsfree(minfo.postbr); zsfree(minfo.postbr);
minfo.postbr = ztrdup(lastpostbr); minfo.postbr = ztrdup(lastpostbr);
if (listshown) if (listshown && (lastprebr || lastpostbr)) {
showinglist = -2; Cmgroup g;
Cmatch *m;
for (g = amatches, m = NULL; g && (!m || !*m); g = g->next)
for (m = g->matches; *m; m++)
if (!hasbrpsfx(*m, minfo.prebr, minfo.postbr)) {
showinglist = -2;
break;
}
}
} }
menuacc++; menuacc++;