Table of Contents

, ,

Set tab title in xfce4-terminal

Hosts you are connecting to should have this in their .bashrc

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

Tested on

See also

References