Was i writing preexec? Oh sorry. I meant precmd of course.

On Fri, Feb 5, 2021, 18:34 Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
On Fri, Feb 5, 2021 at 6:13 PM Christian Parpart
<christian@parpart.family> wrote:
>
> Except for the very first prompt right after process spawn the preexec hook is NOT being invoked on the upper line

What does this mean?

preexec is not invoked on any line. It's invoked when you hit ENTER,
right before the command is executed.

Roman.