Back to article
Put the path in your xterm titlebar
export PS1=$PS1"\[\e]0;\H:\w\a\]" (bash)
October 23, 1999
This alters the prompt to print special escape characters, which xterm uses to set its titlebar. If you are going into a deep directory tree and the path is getting very long, then using the title bar space can be an attractive idea.
A csh version is
^[ is an escape character; use ctrl V then escape .