From c92df3cffa318683d5d2c4b0126a017c30c91562 Mon Sep 17 00:00:00 2001 From: baocheny Date: Fri, 2 Jun 2023 14:32:43 +0800 Subject: [PATCH] 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 }