[PATCH 4/4] compwid.yo: add index markup for the Completion Condition Codes
Štěpán Němec <[email protected]> Mon, 29 Jun 2026 21:50:33 +0200
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
In retrospect, a fulltext search of the documentation would have found them, but having checked Conditional Expressions and the index, somehow I didn't think of that and resorted to Git archeology, which took some time; making these easier to locate shouldn't hurt. --- Doc/Zsh/compwid.yo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo index ff8aca5f0ec5..3e8e9f446cd9 100644 --- a/Doc/Zsh/compwid.yo +++ b/Doc/Zsh/compwid.yo @@ -873,16 +873,20 @@ builtin, but in the case of the condition codes the contents of the special parameters are not modified. startitem() +findex(-prefix, within [[) item(tt(-prefix) [ var(number) ] var(pattern))( true if the test for the tt(-P) option of tt(compset) would succeed. ) +findex(-suffix, within [[) item(tt(-suffix) [ var(number) ] var(pattern))( true if the test for the tt(-S) option of tt(compset) would succeed. ) +findex(-after, within [[) item(tt(-after) var(beg-pat))( true if the test of the tt(-N) option with only the var(beg-pat) given would succeed. ) +findex(-between, within [[) item(tt(-between) var(beg-pat end-pat))( true if the test for the tt(-N) option with both patterns would succeed. ) -- 2.54.0