Hey everyone,
Im running openSUSE 11.1 and having a small problem with the gnome-terminal. I want the title of the tab/window to display the host I’m working on.
To be more clear, when I enter the command ssh sjoerd@host and I log in, the title doesnt change. I kept everything default in the gnome-terminal profile though I tried some options like “run command as login shell” but that didn’t change anything.
I also tried to edit my /home/sjoerd/.bashrc file like this:
case $TERM in
(xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}($(id-ng))@${HOSTNAME}: ${PWD}\007"'
;;
esac
But this didnt work as well.
Anyone knows where this goes wrong? Thank you