From 0161b1ca7752c4a768dd3dcf38493290b9d36ff7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 27 Aug 1999 12:02:50 +0000 Subject: zsh-workers/7515 --- Doc/Zsh/compsys.yo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index e1cca1337..f3703acda 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -949,7 +949,11 @@ enditem() In each of the cases above, the var(action) says how the possible completions should be generated. In cases where only one of a fixed set of strings can be completed, these string can directly be given as -a list in parentheses, as in `tt(:foo:(foo bar baz))'. A string in +a list in parentheses, as in `tt(:foo:(foo bar baz))'. Such a list in +doubled parentheses, as in `tt(:foo:((a\:bar b\:baz)))' should contain +strings consisting of the string to complete followed by a colon +(which needs to be preceded by a backslash) and a description. The +matches will be listed together with their descriptions. A string in braces will be evaluated to generate the matches and if the var(action) does not begin with an opening parentheses or brace, it will be split into separate words and executed. If the var(action) -- cgit 1.4.1