zsh: theme: prevent breaking of prompt with virtualenv prefix

master
bretello 2024-05-09 16:33:31 +02:00
parent 1e90b5766c
commit e021c813b2
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ function virtualenv_info {
venv="$(basename $(dirname "$VIRTUAL_ENV") )"
fi
echo -n " $BOLD_PURPLE<$venv>$CLEAR "
# bold (%B) purple (%F{5})
echo -n " %B%F{5}<$venv>%b%f "
}