Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd hook invoked later than usual on very first prompt
- X-seq: zsh-workers 47915
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Christian Parpart <christian@parpart.family>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: precmd hook invoked later than usual on very first prompt
- Date: Fri, 5 Feb 2021 18:34:04 +0100
- Archived-at: <https://zsh.org/workers/47915>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/CAN%3D4vMopsqPWNTfgGCsG2Tmt6JkaUbkh9_ikcJ4FCTe%3DNZbA6w%40mail.gmail.com>
- In-reply-to: <CABfObkBhX1jDB8aUGMvd52NGH8twOJdohX-0XfRsGgctjDxBGw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CABfObkBhX1jDB8aUGMvd52NGH8twOJdohX-0XfRsGgctjDxBGw@mail.gmail.com>
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