Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG?] autoloaded TRAP function doesn't actually trap signal



% 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