Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 4/4] compwid.yo: add index markup for the Completion Condition Codes



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





Messages sorted by: Reverse Date, Date, Thread, Author