diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:18:42 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:18:42 +0000 |
| commit | 7a0415cfd70a02b2280d27556c6c54cef1c86e1a (patch) | |
| tree | 37a88a1c4611ee37f2a3209873fc9a34a2624587 /Completion/Base/_match_test | |
| parent | zsh-3.1.5-pws-10 (diff) | |
| download | zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.gz zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.bz2 zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.lz zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.xz zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.tar.zst zsh-7a0415cfd70a02b2280d27556c6c54cef1c86e1a.zip | |
zsh-3.1.5-pws-11zsh-3.1.5-pws-11
Diffstat (limited to 'Completion/Base/_match_test')
| -rw-r--r-- | Completion/Base/_match_test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Base/_match_test b/Completion/Base/_match_test index e8b6e6424..7db521e81 100644 --- a/Completion/Base/_match_test +++ b/Completion/Base/_match_test @@ -1,9 +1,9 @@ #autoload # This function is called at the beginning of functions that do matching in -# shell code. It should test the value of the `MATCHER' special parameter -# and return non-zero if the calling function should try to generate matches -# for the global match specification in use. +# shell code. It should test the value of `compstate[matcher]' and return +# non-zero if the calling function should try to generate matches for the +# global match specification in use. # # This function gets one argument, the name of the function calling it. # @@ -12,4 +12,4 @@ # match specifications and modify the function `_match_pattern' to build the # pattern to use in the calling function. -(( MATCHER == 1 )) +(( compstate[matcher] <= 1 )) |
