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

Re: trap ERR



On 21/02/17 08:41 AM, Peter Stephenson wrote:
[Z]ERR and DEBUG are special. If you want to stop them you do so
explicitly. You can append '; trap "" ERR' to the trap, if you want.

Ha, that's just what I'm trying now. It seems so ... occult ... but it seems to work.

There's nothing to stop you using $fpath and autoload in a script.

Yabut that requires one function per file IIRC. I'll chew on it. Thanks Peter.



Messages sorted by: Reverse Date, Date, Thread, Author