Skip to content

Commit

Permalink
add venv prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
baocheny authored and akinomyoga committed Oct 10, 2023
1 parent e91797d commit 9b96edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/agnoster/agnoster.theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function prompt_virtualenv {
# corresponds to the version number.
local VENV_VERSION=$(awk '{print $NF}' <<< "$VERSION_OUTPUT")

prompt_segment cyan white "[v] $(basename "$VENV_VERSION")"
prompt_segment cyan white "[v] $VIRTUAL_ENV_PROMPT $(basename "$VENV_VERSION")"
fi
}

Expand Down

0 comments on commit 9b96edb

Please sign in to comment.