Fix color variable filter regex

This commit is contained in:
Johannes Altmanninger
2025-11-27 09:22:04 +01:00
parent a9c43e7396
commit 5631a7ec86
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ The other lines are just like ``set variable value``, except that no expansions
Any color variable fish knows about that the theme doesn't set will be set to empty when it is loaded, so the old theme is completely overwritten.
Other than that, .theme files can contain any variable with a name that matches the regular expression ``'^fish_(?:pager_)?color.*$'`` - starts with ``fish_``, an optional ``pager_``, then ``color`` and then anything.
Other than that, .theme files can contain any variable with a name that matches the regular expression ``'^fish_(?:pager_)?color_.*$'`` - starts with ``fish_``, an optional ``pager_``, then ``color_`` and then anything.
Example
-------