Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG?] autoloaded TRAP function doesn't actually trap signal
- X-seq: zsh-workers 49406
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG?] autoloaded TRAP function doesn't actually trap signal
- Date: Fri, 10 Sep 2021 11:55:26 +0300
- Archived-at: <https://zsh.org/workers/49406>
- List-id: <zsh-workers.zsh.org>
% print 'print tst' > TRAPALRM
% autoload $PWD/TRAPALRM
% TRAPALRM
tst
% type -f TRAPALRM
TRAPALRM () {
print tst
}
% TMOUT=1
%
zsh: timeout
%
Is this expected behavior or a bug?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author