zsh: let terminal set text colour

the prompt no longer sets the text colour which is better suited for the
terminal colour scheme, as when switching between light/dark mode, the
text does not blend into the background
This commit is contained in:
Nico 2026-01-29 23:41:06 +11:00
parent 6a7bd6c2b1
commit f1b7a35eea
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 1 additions and 3 deletions

View file

@ -30,10 +30,9 @@ if [ -f ~/.cache/zsh_colours.sh ]; then
else
PRIMARY_COLOUR="{blue}"
SECONDARY_COLOUR="{yellow}"
TEXT_COLOUR="{black}"
fi
PROMPT="%F$PRIMARY_COLOUR%~ %F$SECONDARY_COLOUR$OSICON %k%F$TEXT_COLOUR"
PROMPT="%F$PRIMARY_COLOUR%~ %F$SECONDARY_COLOUR$OSICON %k%F"
bindkey -e