mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
Don't require MULTI_FUNCDEF in _main_complete.
Although it gets set there, _main_complete is parsed to the end first.
This commit is contained in:
parent
420bfcfc66
commit
b7aecf6c8e
2 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2015-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* users/20281: Completion/Base/Core/_main_complete:
|
||||
don't require MULTIFUNCDEF as _main_complete is parsed
|
||||
before we can ensure it's set.
|
||||
|
||||
* 35623: Src/builtin.c, Src/zsh.h, Test/B02typeset.ztst: 35610
|
||||
was incomplete: all is_array asignments should be treated as
|
||||
having a value.
|
||||
|
|
|
@ -141,11 +141,16 @@ _completer_num=1
|
|||
|
||||
# We assume localtraps to be in effect here ...
|
||||
integer SECONDS=0
|
||||
TRAPINT TRAPQUIT() {
|
||||
TRAPINT() {
|
||||
zle -M "Killed by signal in ${funcstack[2]} after ${SECONDS}s";
|
||||
zle -R
|
||||
return 130
|
||||
}
|
||||
TRAPQUIT() {
|
||||
zle -M "Killed by signal in ${funcstack[2]} after ${SECONDS}s";
|
||||
zle -R
|
||||
return 131
|
||||
}
|
||||
|
||||
# Call the pre-functions.
|
||||
|
||||
|
|
Loading…
Reference in a new issue