in reply to How to change an xterm title on the fly
(to put into your ~/.bashrc - yeah, we're really OT here ;-)# The Prompt unset PROMPT_COMMAND case $TERM in xterm*) TITLEBAR='\[\033]0;\h:\w\007\]' ;; *) TITLEBAR='' ;; esac PS1="${TITLEBAR}\u@\[\033[1;34m\]\h\[\033[0m\]:\W> " export PS1 PS2
| Regards... | Stefan |
| you begin bashing the string with a +42 regexp of confusion | |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to change an xterm title on the fly
by suaveant (Parson) on Oct 22, 2001 at 18:45 UTC |