Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Modifying the 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?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.