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

Re: zsh function breaks after error



On Wed, Feb 9, 2022 at 10:45 AM Thomas Lauer <thomas.lauer@xxxxxxxxxx> wrote:
>
> Well... as I wrote in my OP: if I replace the rofi call with a tiny
> script that does precisely the same thing but *always* exits with error
> code 0, all works as it should. So I am pretty sure that rofi exiting
> with 1 is indeed the culprit here.

If you use your tiny script and replace "exit 0" with "exit $?" (so it
exits with the same status as rofi) does that still reproduce the
problem?

Incidentally, what's the $ZSH_PATCHLEVEL ?




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