When using anaconda (install for python), when I switch to the virtual env with this:
source activate my_env
It changes my prompt and adds (my_env) at the start of my PS1.
I've tried adding export VIRTUAL_ENV_DISABLE_PROMPT=1
to my bashrc, but it did not help.
Any idea?
.bash_profile
in a way which changes the prompt, what else does it (mistakenly) think it has the right to do? Turns out, it also adds to the beginning ofPATH
so that, for example,curl
is redefined. Ouch! I’m treating this as malware.