Re: konsole title bar
On Sunday 11 July 2004 10:39, Ruth A. Kramer wrote:
> Bud Rogers wrote:
> > I worked out how to do what I wanted about ten minutes after I sent
> > this. Sorry for the bandwidth.
>
> Well, how about letting the rest of us in on the secret?
I added the following to my .bashrc. Google led me to it finally. I'm
still not sure how to parse that escape sequence, but it does exactly
what I want.
if [ "$TERM" = "xterm" ]; then
PS1="\033]2;\u@\h:\w\007$ "
else
PS1="\u@\h:\w\\$ "
fi
export PS1
--
Bud Rogers <budr@netride.net> KD5SZ
Reply to: