Autotitles in screen.

This comes in really handy in ~/.screenrc: shelltitle ‘$ |bash’ Then add this in ~/.bashrc: export PROMPT_COMMAND='[ “$TERM” == “screen” ] && echo -n -e “\033k\033\\”‘ Restart screen in a fresh bash session and enjoy. UPDATE: I stupidly screwed up the screenrc line because I did it from memory instead …