Paczesiowa/virthualenv — Issue #33: automatically source when moving into the directory
Author: gregwebs
Created: 2011-11-22 00:18:14+00:00
State: open

overriding cd seems fraught with peril. Perhaps you can just add the below to the documentation

``` bash
function precmd() {
if [[ -z $VIRTHUALENV_NAME ]]; then
if [[ -e .virthualenv/bin/activate ]]; then
source .virthualenv/bin/activate
fi
fi
PROMPT="...$VIRTHUALENV_NAME..."
}
```