I would like to know how to change the bash title modifying the configuration files.
I often program in Python and use
virtualenv to keep my development environment separated
from the system-wide environment.
VIRTUALENVPATH/bin/activate script I could make so that the name of the virtual environment is shown in red, however the title is set to the directory I am when I activate the virtual environment.
How can I modify the
activate so that the title changes when I change directory?