Yes, if seems like the way to do this in bash. It's unfortunate because
doing it with a binding is more elegant as it avoids polluting the terminal
output and shell history.

In hindight: should the changes that were made to bash due to this
discussion, be reverted? The previous behavior was less annoying to me
(maybe because I was used to it)

Den mån 18 nov. 2024 19:49Chet Ramey <chet.ra...@case.edu> skrev:

> On 11/16/24 5:29 AM, David Moberg wrote:
> > Ok, is there anything I can do on my user side to get desired behavior?
> > (similar to running `stty sane` every time I send vim to the background.)
>
> As several others have suggested, a simple macro that clears the line,
> saving the text on the kill ring for future yanking, and inserts `fg\n'
> is probably the best.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
>

Reply via email to