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

Re: PATCH: 3.1.4: flushing input properly



Bart Schaefer wrote:
>I believe the reason it behaves as it does is for purposes of sourcing
>a file, so that syntax errors in .zshrc et. al. don't cause the entire
>init process to fail.  That's a nicety I'd rather not give up.

I think it'd be perfectly reasonable to ignore the remainder (or, indeed,
the entirety) of a startup script when a parse error is encountered.

-zefram



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