Modification of the Oh My Zsh Bureau theme that adds a Python virtual environment label to the left of the git block.
This works for Conda environments that declare $CONDA_DEFAULT_ENV as well as Virtualenv environments.
If both Conda and Virtualenv have active environments, the prompt defaults to the Virtualenv environment, not what your current python
points to, so beware.
If you still see a label for your virtualenv to the left of your prompt after you activate, add export VIRTUAL_ENV_DISABLE_PROMPT=1
to the end of your .zshrc
.
To install this plugin, run the following from the repo folder:
ln themes/bureau-env.zsh-theme ~/.oh-my-zsh/themes/
If Oh My Zsh is installed somewhere else, change the path above to the appropriate directory.
On Windows, you'll have to copy the file directly.