Default colorscheme: Change pager prefix color for light terminals

From my checks (gnome-terminal with the "gnome light" colorscheme)
this seems to be the only color that's barely visible in a light
terminal, and it's the only color mentioned in both bug reports.

I'm leaving the artistic decisions to others, this is now *acceptable*
in both.

Note that, because we use universal variables here (hint #7317), this
will only be changed for preexisting installations when the user
reloads the colorscheme.

Fixes #3412
Fixes #3893
This commit is contained in:
Fabian Homborg 2021-05-01 20:16:23 +02:00
parent 4728d1772f
commit c55aa48308
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function __fish_config_interactive -d "Initializations that should be performed
__init_uvar fish_color_cancel -r
# Pager colors
__init_uvar fish_pager_color_prefix white --bold --underline
__init_uvar fish_pager_color_prefix normal --bold --underline
__init_uvar fish_pager_color_completion
__init_uvar fish_pager_color_description B3A06D yellow
__init_uvar fish_pager_color_progress brwhite --background=cyan

View File

@ -241,7 +241,7 @@ var color_scheme_fish_default = {
'search_match' : 'bryellow --background=brblack',
'fish_pager_color_completion' : '',
'fish_pager_color_description' : 'B3A06D yellow',
'fish_pager_color_prefix' : 'white --bold --underline',
'fish_pager_color_prefix' : 'normal --bold --underline',
'fish_pager_color_progress' : 'brwhite --background=cyan',
'normal' : 'normal',
'user' : 'brgreen',