mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
16748: Fix infinite loop introduced by 16464.
This commit is contained in:
parent
4e354ca36f
commit
4b98b648df
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-02-28 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 16748: Completion/Zsh/Command/_zle: Fix infinite loop
|
||||
introduced by 16464.
|
||||
|
||||
2002-02-25 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 16711: Src/loop.c: allow nterruption of empty while-loops
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue