diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-11-30 01:47:16 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-11-30 01:47:16 +0100 |
commit | 86bb6a7e771a762ba30334ab6c92e6f75624c9f2 (patch) | |
tree | 93bec5ff2b724e94b62c7ed78fed21feb1ce91a7 /Completion/Base/Utility/_regex_words | |
parent | e6d23bf39af6312478253559d7109b08ad6e332c (diff) | |
parent | fa40bfac03d0ce20fb92dede94f118a17d4af9d8 (diff) | |
download | zsh-86bb6a7e771a762ba30334ab6c92e6f75624c9f2.tar.gz zsh-86bb6a7e771a762ba30334ab6c92e6f75624c9f2.zip |
Merge tag 'zsh-5.1.1-test-3' into debian
Third test version prior to zsh 5.2 release.
Diffstat (limited to 'Completion/Base/Utility/_regex_words')
-rw-r--r-- | Completion/Base/Utility/_regex_words | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_regex_words b/Completion/Base/Utility/_regex_words index 77ba197a4..62c2491bb 100644 --- a/Completion/Base/Utility/_regex_words +++ b/Completion/Base/Utility/_regex_words @@ -20,7 +20,13 @@ local tag=$1 local desc=$2 shift 2 -reply=(\() +if (( $# )); then + reply=(\() +else + # ### Is this likely to happen in callers? Should we warn? + reply=() + return +fi integer i local -a wds |