help-bash
[Top][All Lists]
Advanced

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

Re: how to exclude results from PS0\1 \ PROMPT_COMMAND


From: Alex fxmbsw7 Ratchev
Subject: Re: how to exclude results from PS0\1 \ PROMPT_COMMAND
Date: Fri, 12 Mar 2021 21:55:02 +0100

i think i had that, old cmd instead of new, thats why i ended with
users_cmd=$BASH_COMMAND ( or similiar ) to put it on PS0 but that brought
me here, cause the command[s] itself in PROMPT_COMMAND made em displayed
also, not just the users entered command

On Fri, Mar 12, 2021 at 9:32 PM Chet Ramey <chet.ramey@case.edu> wrote:

> On 3/12/21 11:08 AM, Greg Wooledge wrote:
>
> > If I set PS0='\[\e]2;$BASH_COMMAND\a\]' it keeps showing the previous
> > command in the title bar, rather than the current command.  So, another
> > feature that we can ignore forever.
>
> Take a breath, Greg, it's for the bash debugger.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>


reply via email to

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