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

Re: break/continue vs. try-always



On Jun 6, 2014 2:04 PM, "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
wrote:
>
> We could do something like add "break -r" to reset.  It would only be
> usable in always blocks (not sure about traps) because otherwise you
> don't get the chance to execute it.

I was thinking perhaps "break 0" which is otherwise/currently an error.
Assuming the break handler can tell when it is in the scope of an always
block.


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