From 1cfd91fdcbcf26587ba524af900b33b0a22932ca Mon Sep 17 00:00:00 2001 From: baocheny Date: Fri, 2 Jun 2023 14:32:43 +0800 Subject: [PATCH] themes/agnoster: Add venv prompt --- themes/agnoster/agnoster.theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/agnoster/agnoster.theme.sh b/themes/agnoster/agnoster.theme.sh index 569039526..cc74dab4e 100644 --- a/themes/agnoster/agnoster.theme.sh +++ b/themes/agnoster/agnoster.theme.sh @@ -295,7 +295,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 }