Including virtual environment in bash prompt
You can activate a virtual environment for conda by running

conda activate base


Replace base with whatever (defined) conda environment you want to use.

pse@Mithos:~$ export PS1="\[\e[30;47m\]\W\[\e[30;47m\]$\[\e[0m\]"
~$cd .tmp
/Users/pse/.tmp
.tmp$conda activate base
((base) .tmp$conda deactivate 
.tmp$