diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-29 08:00:46 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-29 08:00:46 +0000 |
commit | a2750a4effef1db7966530cd39905dbb7cf2b99c (patch) | |
tree | 0ccf8cc00e18527fe9e59d093c20bcf0dbe812bf /Doc/Zsh | |
parent | 7a3ca7a673d98fcbe50c192cba6165d17505e394 (diff) | |
download | zsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.tar.gz zsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.tar.xz zsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.zip |
fixes for _arguments with sets; make _zpty not use sets (11624)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 9982cda7a..1e5ffa584 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2867,6 +2867,13 @@ options will be completed after the first non-option argument on the line. With tt(-S), no option will be completed after a `tt(-)tt(-)' on the line and this argument will otherwise be ignored. +Note that using multiple sets will be slower than using only one set +because the completion code has to parse the command line once for +every set. So more than one set should only be used if the command +syntax is too complicated. Note also that a option specification with +rest-arguments (as in `tt(-foo:*:...)' often allows to avoid the use +of multiple sets. + Another option supported is `tt(-O) var(name)'. The var(name) will be taken as the name of an array and its elements will be given to functions called to generate matches when executing the |