fix fish prompt coloring

This commit is contained in:
Never Gude 2026-03-20 21:58:33 +01:00
parent 36a800415b
commit b39e324adb
4 changed files with 8 additions and 18 deletions

View file

@ -3,21 +3,11 @@ function fish_prompt
set -g VIRTUAL_ENV_DISABLE_PROMPT true
end
set colorscheme (dconf read /org/gnome/desktop/interface/color-scheme)
if test $colorscheme = '\'prefer-light\''
set_color brwhite --background d5c4a1
else
set_color brwhite --background 504945
end
set_color white --background=brwhite --dim --reverse
set -g __fish_git_prompt_show_informative_status true
printf '%s' (fish_git_prompt " %s ")
if test $colorscheme = '\'prefer-light\''
set_color white --background ebdbb2
else
set_color white --background 3c3836
end
set_color black --background=white --dim --reverse
printf ' %s ' (prompt_pwd -D 8)
echo