Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 3/4] docs: _wanted: Clarify the example and point to another one.
- X-seq: zsh-workers 49447
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 3/4] docs: _wanted: Clarify the example and point to another one.
- Date: Sun, 26 Sep 2021 08:43:46 +0000
- Archived-at: <https://zsh.org/workers/49447>
- In-reply-to: <20210926084347.9927-1-danielsh@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <20210926084347.9927-1-danielsh@tarpaulin.shahaf.local2>
---
Doc/Zsh/compsys.yo | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 89b918d60..cc5cd7165 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -5295,7 +5295,11 @@ matches with the given description:
example(local expl
_wanted tag expl 'description' \
- compadd matches...)
+ compadd -- var(match1) var(match2)...)
+
+See also the use of tt(_wanted) in the example function in
+ifzman(the subsection `Dynamic named directories' in zmanref(zshexpn))\
+ifnzman(noderef(Dynamic named directories)).
Note that, as for tt(_requested), the var(command) must be able to
accept options to be passed down to tt(compadd).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author