-- <snip> --

> I can't reproduce the bug with a zshrc that contains nothing but an
> (unconditional) zmodload zsh/zprof.  I'm using a self-compiled
> static build from upstream git, not a package build.
> 
> Could you please send a bug report upstream (zsh-work...@zsh.org)?
> Ideally, the bug report would include a reproduction script that sets up
> a new temporary directory, creates a minimal zshrc in it, and runs
> 'ZDOTDIR=/path/to/dir zsh -d' and provokes the bug.
> 
> Thanks!
> 
> Daniel
> 

Hello shortest testcase i can come with atteched. Will send it upstream, too.

with 5.6.2:

% su -l heinb
Password:
tosh% exec zsh
zsh: suspended (tty output)
tosh% fg
[2]  + continued
num  calls                time                       self            name
-----------------------------------------------------------------------------------
tosh%



with 5.5.1:

% su -l heinb
Password:
tosh% exec zsh
num  calls                time                       self            name
-----------------------------------------------------------------------------------
tosh%



kind regards,

     Thilo
builtin zmodload zsh/zprof
lessx() {
    less --quit-if-one-screen --chop-long-lines -X "${@}"
}
READNULLCMD='lessx'
zprof |& lessx

Reply via email to