mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
5926a75cc5
Currently, when a variable like $fish_color_command is set but empty: set -g fish_color_command what happens is that highlight parses it and ends up with a "normal" color. Change it so instead it sees that the variable is empty and goes on to check the fallback variable, e.g. fish_color_normal. That makes it easier to make themes that override variables. This means that older themes that expect an empty variable to be "normal" need to be updated to set it to "normal". Following from this, we could make writing .theme files easier by no longer requiring them to list all variables with specific values. Either the theme reader could be updated to implicitly set known color variables to empty, or the themes could feature empty values. See #8787. |
||
---|---|---|
.. | ||
cmds | ||
python_docs_theme | ||
commands.rst | ||
completions.rst | ||
conf.py | ||
design.rst | ||
faq.rst | ||
fish_for_bash_users.rst | ||
fish_indent_lexer.py | ||
fish_synopsis.py | ||
index.rst | ||
interactive.rst | ||
language.rst | ||
license.rst | ||
relnotes.rst | ||
tutorial.rst |