diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 06:13:50 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 06:13:50 +0000 |
commit | fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac (patch) | |
tree | a226933a206ebff348286eba4dbe8e83743d8b07 | |
parent | 3beeb8a6fddac8af7dd2a31335c2ce97c3d60e82 (diff) | |
download | zsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.tar.gz zsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.tar.xz zsh-fb6bcb7364f67955dff0cbe3a979d3ab1c6804ac.zip |
fix for ignore-line style (11679)
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/Zle/compcore.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9af3d33ea..e15903a44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-05-31 Sven Wischnowsky <wischnow@zsh.org> + * 11679: Src/Zle/compcore.c: fix for ignore-line style + * 11678: Completion/Base/_arguments: avoid reporting the same ->state more than once diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 4fdfaa159..1a18f14e3 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -1895,6 +1895,10 @@ addmatches(Cadata dat, char **argv) argv = &ms; } } + if (dat->ppre) + ppl = strlen(dat->ppre); + if (dat->psuf) + psl = strlen(dat->psuf); for (; (s = *argv); argv++) { bpl = obpl; bsl = obsl; |