Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to trap EXIT like in bash
On Apr 4, 1:55pm, Bart Schaefer wrote:
}
} http://www.zsh.org/mla/workers//2004/msg00460.html
}
} It seems asserted in that thread that the Bash behavior is not only not
} compatible with FreeBSD, but is also not POSIX compliant, which is why
} the default for zsh got changed.
Hmm, except that the NEWS file and the early part of that thread claim
that TRAPS_ASYNC is the default for zsh because of historic behavior,
but then workers/19858 changes OPT_EMULATE|OPT_NONBOURNE to 0 so that
TRAPS_ASYNC is never on by default.
Was this just a botch in 19858 (should have been OPT_ZSH ?) that no one
ever noticed? I can't tell from the archived discussion whether this was
done intentionally.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author