summaryrefslogtreecommitdiff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2014-08-26 00:48:18 +0200
committerAxel Beckert <abe@deuxchevaux.org>2014-08-26 00:48:18 +0200
commita55d381f745d669c0ef9bdf0a4ce78a045ff3070 (patch)
tree31c741d92f2077f241835005b8cfd1db251445f6 /Doc/Zsh/compsys.yo
parent478d6c1db2ad16ea6b3cb6010cf083f2513494cf (diff)
parentcc69eef1cd835cd8d3f33960e9f616c894e7ae4f (diff)
downloadzsh-a55d381f745d669c0ef9bdf0a4ce78a045ff3070.tar.gz
zsh-a55d381f745d669c0ef9bdf0a4ce78a045ff3070.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 8a9f47db1..920b5903d 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4741,6 +4741,19 @@ This function accepts the tt(compadd) options `tt(-V)', `tt(-J)',
`tt(-r)', `tt(-R)', and `tt(-q)' and passes them on to the tt(compadd)
builtin used to add the matches.
)
+findex(_sequence)
+item(tt(_sequence) [ tt(-s) var(sep) ] [ tt(-n) var(max) ] [ tt(-d) ] var(function) [ tt(-) ] ...)(
+This function is a wrapper to other functions for completing items in a
+separated list. The same function is used to complete each item in the
+list. The separator is specified with the tt(-s) option. If tt(-s) is
+omitted it will use `tt(,)'. Duplicate values are not matched unless
+tt(-d) is specified. If there is a fixed or maximum number of items in
+the list, this can be specified with the tt(-n) option.
+
+Common tt(compadd) options are passed on to the function. It is possible
+to use tt(compadd) directly with tt(_sequence), though tt(_values) may
+be more appropriate in this situation.
+)
findex(_setup)
item(tt(_setup) var(tag) [ var(group) ])(
This function sets up the special