diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-13 09:47:43 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-13 09:47:43 +0000 |
commit | f1de582703ad51ebf57576be85e5918f70f0c75d (patch) | |
tree | c5e3876c7704253b79e8ccac0ef7241342291f34 /Src/Zle | |
parent | 8ddf6cc4e3d35c35dc234c2bf644d8be185b9c90 (diff) | |
download | zsh-f1de582703ad51ebf57576be85e5918f70f0c75d.tar.gz zsh-f1de582703ad51ebf57576be85e5918f70f0c75d.tar.xz zsh-f1de582703ad51ebf57576be85e5918f70f0c75d.zip |
zsh-workers/9305
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compcore.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 028536206..4d7ee469b 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -2569,9 +2569,11 @@ permmatches(int last) static int fi = 0; int nn, nl, ll, gn = 1, mn = 1, rn; - if (pmatches && !newmatches) + if (pmatches && !newmatches) { + if (last && fi) + ainfo = fainfo; return fi; - + } newmatches = fi = 0; if (pmatches) @@ -2587,7 +2589,7 @@ permmatches(int last) } while (g) { HEAPALLOC { - if (empty(g->lmatches)) + if (fi) /* We have no matches, try ignoring fignore. */ mlist = g->lfmatches; else |