Closed biohazard2117 closed 8 months ago
Change CONDA_PROMPT_MODIFIER
to VIRTUAL_ENV
in ~/.zshrc
:
# Virtualenv: current working virtualenv
prompt_virtualenv() {
if [[ -n $VIRTUAL_ENV ]]; then
prompt_segment black default $(basename ${VIRTUAL_ENV})
fi
} # replaced CONDA_PROMPT_MODIFIER with VIRTUAL_ENV
Worked fine thanks
When I activate a virtual environment it doesn't show the name of the virtual environment that is currently activated.