Re: PROMPT_COMMAND is not executed after edit-and-execute-command
From:
earnestly
Subject:
Re: PROMPT_COMMAND is not executed after edit-and-execute-command
Date:
Thu, 18 Mar 2021 20:02:47 +0000
On Thu, Mar 18, 2021 at 03:49:33PM -0400, Chet Ramey wrote:
> Since readline prints the prompt as part of redisplay, and it doesn't know
> anything about PROMPT_COMMAND or command execution, it doesn't execute it.
That makes sense but doesn't bode well for my issue. Perhaps I can find
a way to execute a prompt_command function (which I currently use) or
perhaps investigate some other method to workaround this entirely.
Thanks for the explanation nevertheless.