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.
This commit is contained in:
Nico 2025-05-04 18:33:30 +10:00
parent ddccc4aff1
commit 7ba36885bf

View file

@ -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