Next: Completion Matching Control, Previous: Completion Builtin Commands, Up: Completion Widgets [Contents][Index]
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.
true if the test for the -P option of compset would succeed.
true if the test for the -S option of compset would succeed.
true if the test of the -N option with only the beg-pat given would succeed.
true if the test for the -N option with both patterns would succeed.