From 4b98b648dfb0b641ea9592b66c87365449723194 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 1 Mar 2002 05:14:38 +0000 Subject: 16748: Fix infinite loop introduced by 16464. --- Completion/Zsh/Command/_zle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Command/_zle b/Completion/Zsh/Command/_zle index 1e787e54f..a1fe136c5 100644 --- a/Completion/Zsh/Command/_zle +++ b/Completion/Zsh/Command/_zle @@ -46,9 +46,9 @@ while (( $#state )); do ;; (widget*) _wanted -C "$context[1]" widgets expl widget compadd -k widgets && ret=0 - [[ $st != *function ]] && continue ;& (function) + [[ $state[1] != *function ]] || # Handle fall-through _wanted -C "$context[1]" functions expl 'widget shell function' \ compadd -k functions && ret=0 ;; -- cgit 1.4.1