Fix prompt: use white text on colored background segments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-08 13:36:34 +01:00
parent efd3351ee7
commit 9554152cb5

View file

@ -57,16 +57,16 @@
# Nix-shell indicator # Nix-shell indicator
if set -q IN_NIX_SHELL if set -q IN_NIX_SHELL
set_color -b yellow black set_color -b yellow white
printf ' nix-shell ' printf ' nix-shell '
set_color normal set_color normal
printf ' ' printf ' '
end end
# Line 1: hostname ~/path # Line 1: hostname ~/path
set_color -b green black set_color -b green white
printf ' ' printf ' '
set_color -b yellow black set_color -b yellow white
printf ' %s ' (hostname) printf ' %s ' (hostname)
set_color -b blue white set_color -b blue white
# Path with colored segments # Path with colored segments