From 1867161294edb03547fc3ab49ed6d5b38a66dfb3 Mon Sep 17 00:00:00 2001 From: Topher Brown <206988+topher200@users.noreply.github.com> Date: Mon, 23 Sep 2024 04:35:40 -0400 Subject: [PATCH] Add virtualenv to first-line (#314) --- files/zsh-custom/pure/pure.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/zsh-custom/pure/pure.zsh b/files/zsh-custom/pure/pure.zsh index 4113275c..3ba32e2c 100644 --- a/files/zsh-custom/pure/pure.zsh +++ b/files/zsh-custom/pure/pure.zsh @@ -241,7 +241,8 @@ prompt_pure_precmd() { # When VIRTUAL_ENV_DISABLE_PROMPT is empty, it was unset by the user and # Pure should take back control. if [[ -n $VIRTUAL_ENV ]] && [[ -z $VIRTUAL_ENV_DISABLE_PROMPT || $VIRTUAL_ENV_DISABLE_PROMPT = 12 ]]; then - psvar[12]="${VIRTUAL_ENV:t}" + # TOPHER: disabling second-line virtualenv here (added to the first-line above) + # psvar[12]="${VIRTUAL_ENV:t}" export VIRTUAL_ENV_DISABLE_PROMPT=12 fi