diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2002-03-01 05:14:38 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-03-01 05:14:38 +0000 |
| commit | 4b98b648dfb0b641ea9592b66c87365449723194 (patch) | |
| tree | e43e94f825b53346a6b4dbd0615d80fb434a0747 /Completion | |
| parent | allow nterruption of empty while-loops with ^C (16711) (diff) | |
| download | zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar.gz zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar.bz2 zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar.lz zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar.xz zsh-4b98b648dfb0b641ea9592b66c87365449723194.tar.zst zsh-4b98b648dfb0b641ea9592b66c87365449723194.zip | |
16748: Fix infinite loop introduced by 16464.
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Zsh/Command/_zle | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |
