From: Christian Parpart <christian@parpart.family>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: precmd hook invoked later than usual on very first prompt
Date: Fri, 5 Feb 2021 18:58:56 +0100 [thread overview]
Message-ID: <CABfObkBN-gb14=yF=zzE+tCwqS2AdJk67==pasMWw0q=iuEhkQ@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMopsqPWNTfgGCsG2Tmt6JkaUbkh9_ikcJ4FCTe=NZbA6w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 506 bytes --]
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.
>
[-- Attachment #2: Type: text/html, Size: 823 bytes --]
next prev parent reply other threads:[~2021-02-05 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 17:12 Christian Parpart
2021-02-05 17:34 ` Roman Perepelitsa
2021-02-05 17:58 ` Christian Parpart [this message]
2021-02-05 18:02 ` Roman Perepelitsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABfObkBN-gb14=yF=zzE+tCwqS2AdJk67==pasMWw0q=iuEhkQ@mail.gmail.com' \
--to=christian@parpart.family \
--cc=roman.perepelitsa@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).