From 7ba36885bf1ac92ee4929ec50395e809d1d06db7 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 4 May 2025 18:33:30 +1000 Subject: [PATCH] zsh: set text colour to white zsh-syntax-highlighting may not highlight the text currently in the prompt, sometimes making text look as if zsh-syntax-highlighting wasn't there at all. before this the colour was black which made it unreadable. --- stow/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stow/.zshrc b/stow/.zshrc index 5f70b05..2997f59 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -48,7 +48,7 @@ else TEXT_COLOUR="{black}" fi -PROMPT="%K$PRIMARY_COLOUR%F$TEXT_COLOUR %~ %K$SECONDARY_COLOUR $OSICON %k " +PROMPT="%K$PRIMARY_COLOUR%F$TEXT_COLOUR %~ %K$SECONDARY_COLOUR $OSICON %k%F{white} " RPROMPT="%F{7}$HOSTNAME" bindkey -e