From 0ebf336489f288549ce11bc78bbb2289b604959b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 2 Nov 2017 21:36:55 +0100 Subject: 41971: correctly break out of certain tag loops when there are matches --- Completion/Zsh/Command/_zmodload | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion/Zsh/Command') 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 -- cgit 1.4.1