Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A serious bug in execution – where to debug?
On Tue, Jul 30, 2019 at 11:00 PM Sebastian Gniazdowski <
sgniazdowski@xxxxxxxxx> wrote:
> On Tue, 30 Jul 2019 at 20:28, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> wrote:
> >
> > On Tue, Jul 30, 2019 at 10:01 AM Sebastian Gniazdowski
> > <sgniazdowski@xxxxxxxxx> wrote:
> > >
> > > If I remove the conditional from its third line, i.e. change the line
> > > to:
> > >
> > > ZPLG_REPORTS[_dtrace/_dtrace]+="$2"$'\n'
> > >
> > > then the problem disappears.
> >
> > If you change the [[ ... ]] && ... to an if/then, does the behavior
> change?
> > If you add a "return" or "return $?" at the end of the function, does it
> change?
>
> a) yes, the problem cancels with if-then
> b) no, adding one of the return's doesn't change the behavior
>
I think Bart solved it. Do you have `emulate -L zsh` in your `zle` function?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author