mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Use color for $fish_color_valid_path if it exists
This otherwise threw away the color. Since that's just information that is thrown away, let's just use it. Fixes #9159.
This commit is contained in:
@@ -142,6 +142,8 @@ If a variable isn't set or is empty, fish usually tries ``$fish_color_normal``,
|
||||
|
||||
- ``$fish_color_keyword``, where it tries ``$fish_color_command`` first.
|
||||
- ``$fish_color_option``, where it tries ``$fish_color_param`` first.
|
||||
- For ``$fish_color_valid_path``, if that doesn't have a color, but only modifiers, it adds those to the color that would otherwise be used,
|
||||
like ``$fish_color_param``. But if valid paths have a color, it uses that and adds in modifiers from the other color.
|
||||
|
||||
.. _variables-color-pager:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user