From e021c813b2550aa22375e16c981b3501ae9a2ec9 Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 9 May 2024 16:33:31 +0200 Subject: [PATCH] zsh: theme: prevent breaking of prompt with virtualenv prefix --- themes/brethil.zsh-theme | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/brethil.zsh-theme b/themes/brethil.zsh-theme index caf4d0b..a424ff6 100644 --- a/themes/brethil.zsh-theme +++ b/themes/brethil.zsh-theme @@ -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 " }