diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-05-04 20:16:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-05-04 20:16:09 +0000 |
commit | 3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645 (patch) | |
tree | c71b6e7b94cb6bab36ff8a513c2308a9b704e4ec /Doc/Zsh/compsys.yo | |
parent | 672f5c459e9617aa94e93af552b436e08a4a0184 (diff) | |
download | zsh-3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645.tar.gz zsh-3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645.tar.xz zsh-3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645.zip |
11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo, Src/Modules/zutil.c: _regex_arguments support tag stuff.
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 0c5d02f08..a0a7d7865 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -3276,7 +3276,7 @@ metacharacters such as `tt(LPAR())', `tt(RPAR())', `tt(#)' and `tt(|)' should be quoted. startitem() -item(tt(/)var(pattern)tt(/) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is a primitive element, corresponding to one state of the compiled state machine. The state is entered if `tt((#b)LPAR()(#B))var(pattern)tt(RPAR()(#B))var(lookahead)tt(*)' matches @@ -3295,12 +3295,15 @@ character, the completion target is restricted to the remainder of the command line string and var(action)s for the target are evaluated. In this case, nothing is actually removed from the command line string so that any previous or neighbouring state may also have var(actions)s. +var(actions)s evaluation are ordered by the tt(tag-order) style and +specified var(tag). var(descr) is used for set up the array parameter +tt(expl). ) -item(tt(/)var(pattern)tt(/+) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/+) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is similar to `tt(/)var(pattern)tt(/) ...' but the left part of command line string is also considered as part of the completion target. ) -item(tt(/)var(pattern)tt(/-) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(action)])( +item(tt(/)var(pattern)tt(/-) [tt(%)var(lookahead)tt(%)] [tt(-)var(guard)] [tt(:)var(tag)tt(:)var(descr)tt(:)var(action)])( This is similar to `tt(/)var(pattern)tt(/) ...' but the var(action)s of the current and previous states are ignored even if the following state's `var(pattern)' matches the empty string. |