Many users find it convenient to have the current directory displayed in the title bar of their xterm. It is a simple configuration change to make this change permanent.
To set your title:
alias mytitle 'icon_name; echo -n ^[]1\;$icon_name\^G^[]2\;$HOSTNAME\: $cwd\^G'
mytitle
alias cd 'chdir \!*; mytitle'
alias cd 'chdir \!*;set prompt="`dirs`#\\!% "; mytitle'
alias pushd 'pushd \!*; mytitle'
alias popd 'popd \!*; mytitle'
There are many other configuration options available to you within the ~/.cshrc.local file. But do not edit carelessly. You may not be able to login if you "break" this file by introducing a syntax or other more serious error while modifying your shell configuration.
Feedback, questions or accessibility issues.
Copyright © 2003 Deb Deppeler