summaryrefslogtreecommitdiff
path: root/themes/agnoster.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/agnoster.zsh-theme')
-rw-r--r--themes/agnoster.zsh-theme3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index 21c9cf7d5..c99b604b5 100644
--- a/themes/agnoster.zsh-theme
+++ b/themes/agnoster.zsh-theme
@@ -314,6 +314,9 @@ prompt_dir() {
# Virtualenv: current working virtualenv
prompt_virtualenv() {
+ if [ -n "$CONDA_DEFAULT_ENV" ]; then
+ prompt_segment magenta $CURRENT_FG "🐍 $CONDA_DEFAULT_ENV"
+ fi
if [[ -n "$VIRTUAL_ENV" && -n "$VIRTUAL_ENV_DISABLE_PROMPT" ]]; then
prompt_segment "$AGNOSTER_VENV_BG" "$AGNOSTER_VENV_FG" "(${VIRTUAL_ENV:t:gs/%/%%})"
fi