since gnome-terminal uses the same control commands as xterm this page might be helpful.
Xterm Title for bash and other shells
TL;DR:
add following to your .bashrc
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
since gnome-terminal uses the same control commands as xterm this page might be helpful.
Xterm Title for bash and other shells
TL;DR:
add following to your .bashrc
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'