1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-23 03:51:31 +01:00

zsh: theme: prevent breaking of prompt with virtualenv prefix

This commit is contained in:
bretello 2024-05-09 16:33:31 +02:00
parent 1e90b5766c
commit e021c813b2
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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 "
}