bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug] PROMPT_COMMAND is not executed as expected in some situations


From: Franklin, Jason
Subject: Re: [bug] PROMPT_COMMAND is not executed as expected in some situations
Date: Thu, 16 Apr 2020 09:21:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 4/15/20 5:35 PM, Chet Ramey wrote:
> These all pretty much all fall into the category of the editor reprinting
> the prompt before it returns.

Hmmm...

So, is there no way to have Bash handle the printing of the prompt after
the return of the command and of the editor?

This would allow PROMPT_COMMAND to function as expected.  It is
surprising to see status indicators in my prompt NOT be updated when
using <C-x><C-e>.

I thought that this would be easy.  Is it really not possible to fix?

-- 
Jason Franklin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]