default color scheme: Make commands "normal" color
Some checks failed
Rust checks / rustfmt (push) Has been cancelled
Rust checks / clippy (push) Has been cancelled
make test / ubuntu (push) Has been cancelled
make test / ubuntu-32bit-static-pcre2 (push) Has been cancelled
make test / ubuntu-asan (push) Has been cancelled
make test / macos (push) Has been cancelled

This makes the default colorscheme less colorful for two reasons:

1. It makes it a little less "angry fruit salad"
2. Some terminals (like Microsoft's Windows Terminal) have a terrible
blue default that contrasts badly against a black background

The alternative is to make *parameters* "normal" and give commands the
current parameter color (cyan). But I've seen cyan be quite blue and
quite green depending on the terminal, so I don't want to rely on it.
This commit is contained in:
Fabian Boehm 2024-10-02 18:24:54 +02:00
parent 0dfc490721
commit 81ff6db62d
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ end" >$__fish_config_dir/config.fish
# visible in whatever terminal setup. # visible in whatever terminal setup.
# #
__init_uvar fish_color_normal normal __init_uvar fish_color_normal normal
__init_uvar fish_color_command blue __init_uvar fish_color_command normal
__init_uvar fish_color_param cyan __init_uvar fish_color_param cyan
__init_uvar fish_color_redirection cyan --bold __init_uvar fish_color_redirection cyan --bold
__init_uvar fish_color_comment red __init_uvar fish_color_comment red

View File

@ -4,7 +4,7 @@
# visible in whatever terminal setup. # visible in whatever terminal setup.
fish_color_normal normal fish_color_normal normal
fish_color_command blue fish_color_command normal
fish_color_quote yellow fish_color_quote yellow
fish_color_redirection cyan --bold fish_color_redirection cyan --bold
fish_color_end green fish_color_end green
@ -30,6 +30,6 @@ fish_pager_color_prefix normal --bold --underline
fish_pager_color_progress brwhite --background=cyan fish_pager_color_progress brwhite --background=cyan
fish_pager_color_selected_background -r fish_pager_color_selected_background -r
fish_color_option cyan fish_color_option cyan
fish_color_keyword blue fish_color_keyword normal
fish_color_host_remote yellow fish_color_host_remote yellow
fish_color_status red fish_color_status red