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

Re: precmd hook invoked later than usual on very first prompt



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

On Fri, Feb 5, 2021, 18:34 Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> 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.


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