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:
parent
6a7bd6c2b1
commit
f1b7a35eea
2 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue