diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-11-02 21:36:55 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-11-02 21:36:55 +0100 |
commit | 0ebf336489f288549ce11bc78bbb2289b604959b (patch) | |
tree | 372c38ce4520048cb05efda70e7a2b0f99d06504 /Completion/Zsh/Command/_zmodload | |
parent | bf04ffb54286c44deef6e4ceb6445d6af30897f9 (diff) | |
download | zsh-0ebf336489f288549ce11bc78bbb2289b604959b.tar.gz zsh-0ebf336489f288549ce11bc78bbb2289b604959b.tar.xz zsh-0ebf336489f288549ce11bc78bbb2289b604959b.zip |
41971: correctly break out of certain tag loops when there are matches
Diffstat (limited to 'Completion/Zsh/Command/_zmodload')
-rw-r--r-- | Completion/Zsh/Command/_zmodload | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_zmodload b/Completion/Zsh/Command/_zmodload index 31163eb72..3416d50c6 100644 --- a/Completion/Zsh/Command/_zmodload +++ b/Completion/Zsh/Command/_zmodload @@ -72,6 +72,7 @@ else _files -W module_path -g '*.(dll|s[ol]|bundle)(:r)' && ret=0 _requested aliases expl 'module alias' \ compadd "$suf[@]" -k 'modules[(R)alias*]' && ret=0 + (( ret )) || return 0 done return ret fi |