Skip to content

Commit

Permalink
Add virtualenv to first-line (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
topher200 authored Sep 23, 2024
1 parent b9b6fe3 commit 1867161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/zsh-custom/pure/pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1867161

Please sign in to comment.