From f1b7a35eead6f993d722538faa6a52dc1c7e2b09 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 29 Jan 2026 23:41:06 +1100 Subject: [PATCH] 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 --- stow/.config/matugen/templates/zsh.sh | 1 - stow/.zshrc | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/stow/.config/matugen/templates/zsh.sh b/stow/.config/matugen/templates/zsh.sh index 2f4372b..0de3aa2 100644 --- a/stow/.config/matugen/templates/zsh.sh +++ b/stow/.config/matugen/templates/zsh.sh @@ -1,3 +1,2 @@ PRIMARY_COLOUR="{#{{colors.primary.default.hex_stripped}}}" SECONDARY_COLOUR="{#{{colors.secondary.default.hex_stripped}}}" -TEXT_COLOUR="{#{{colors.on_primary.default.hex_stripped}}}" diff --git a/stow/.zshrc b/stow/.zshrc index 92b4ea9..fe2d0cb 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -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