Hi,
Using bash 5.0.17 edit-and-execute-command I type in something like
cd /tmp
save and exit to execute. $PWD is properly updated but the prompt
doesn't reflect the change (not until the next time it is printed).
Piotr
On Sat, Nov 6, 2021, at 2:41 AM, Alex fxmbsw7 Ratchev wrote:
> cat function/command_not_found_handle
> m "$BASH_COMMAND"
>
> type m
> m is aliased to `vim'
>
> type command_not_found_handle
> command_not_found_handle is a function
> command_not_found_handle ()
> {
> vim "$BASH_COMMAND"
> }
lma
On Sat, Nov 6, 2021, 19:04 Lawrence Velázquez wrote:
> On Sat, Nov 6, 2021, at 2:41 AM, Alex fxmbsw7 Ratchev wrote:
> > cat function/command_not_found_handle
> > m "$BASH_COMMAND"
> >
> > type m
> > m is aliased to `vim'
> >
> > type command_not_found_handle
> > command_not_found_handle is a func
On 11/6/21 9:57 AM, Piotr P. Stefaniak wrote:
Hi,
Using bash 5.0.17 edit-and-execute-command I type in something like
cd /tmp
save and exit to execute. $PWD is properly updated but the prompt
doesn't reflect the change (not until the next time it is printed).
The answer is the same as to this