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

[Solved] New xterm title setting



On Mon, 20 Jun 2005 16:02:22 -0400, Tong wrote:

> Thanks for the reply, but ... I don't want
> the uid@host:/pwd title, I want my own. 
> 
> Another thing that I forgot to mention, another reason that I think some
> system files have been changed is because that the xterm title stays
> annoyingly the same even after I issued the following command.
> 
> echo -ne "\033]0;aaaa\007"

On Tue, 21 Jun 2005 15:49:10 -0400, Bill Marcum wrote:

> Look for PROMPT_COMMAND in /etc/bash.bashrc

Thanks! that's the culprit.

$ grep PROMPT_COMMAND /etc/bash.bashrc
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'




Reply to: