I'm running gnome-terminal set to update its title according to terminal commands updating their own titles (default on Fedora 13). When I SSH to somewhere else the title is updated correctly, but then SSH exits and gnome-terminal is indicating that I'm still logged in remotely. This is confusing when trying to navigate around. How do I maintain the behaviour when logging in, and restore the old title when logging out (by default just "Terminal", but better yet display current location)?
Add the set-title escape sequences to your shell's rc file. For
Stop reading here unless you like messing with
The code above is actually a greatly simplified version of my
Actually, that was my old