mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
don't let duplicate matches keep us from recognising exact matches if they produce the same string on the line (12297)
This commit is contained in:
parent
c7578846f7
commit
67f16de104
@ -1,3 +1,9 @@
|
||||
2000-07-18 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 12297: Src/Zle/compcore.c: don't let duplicate matches keep us
|
||||
from recognising exact matches if they produce the same string on
|
||||
the line
|
||||
|
||||
2000-07-18 Wayne Davison <wayned@users.sourceforge.net>
|
||||
|
||||
* 12295: Src/builtin.c, Src/hist.c, Src/input.c, Src/lex.c: Fixed
|
||||
|
@ -2397,7 +2397,7 @@ add_match_data(int alt, char *str, Cline line,
|
||||
comp_setunset(0, 0, CP_EXACTSTR, 0);
|
||||
}
|
||||
ai->exactm = cm;
|
||||
} else if (useexact) {
|
||||
} else if (useexact && !matcheq(cm, ai->exactm)) {
|
||||
ai->exact = 2;
|
||||
ai->exactm = NULL;
|
||||
if (incompfunc)
|
||||
|
Loading…
Reference in New Issue
Block a user