(zsh.info.gz) Completion Condition Codes
Info Catalog
(zsh.info.gz) Completion Builtin Commands
(zsh.info.gz) Completion Widgets
(zsh.info.gz) Completion Matching Control
19.4 Completion Condition Codes
===============================
The following additional condition codes for use within the [[ ... ]]
construct are available in completion widgets. These work on the
special parameters. All of these tests can also be performed by the
compset builtin, but in the case of the condition codes the contents of
the special parameters are not modified.
-prefix [ NUMBER ] PATTERN
true if the test for the -P option of compset would succeed.
-suffix [ NUMBER ] PATTERN
true if the test for the -S option of compset would succeed.
-after BEG-PAT
true if the test of the -N option with only the BEG-PAT given would
succeed.
-between BEG-PAT END-PAT
true if the test for the -N option with both patterns would
succeed.
Info Catalog
(zsh.info.gz) Completion Builtin Commands
(zsh.info.gz) Completion Widgets
(zsh.info.gz) Completion Matching Control
automatically generated by
info2html