Bash shell life?

How long do the Bash shells live?

Sometimes when I login, I am brought to my home directory instead of where I left off. This means I lose my active virtual environment, etc.

Other times, it seems to live a lot longer.

It varies. We do need to kill consoles in order to manage the service and that will depend on what users are doing.

Is there any way to automatically load my virtual environment when I enter a directory? I used to have a bash profile script for this but can't find it at the moment.

Here you go: