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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…