mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
Improved color scheme handling.
- Improve performance significantly in the base case (i.e. when git or something isn't slowing it down anyway). - Make `bobthefish_display_colors` a non-underscore function. It's meant for public use :) - Support previewing _different_ color schemes via `bobthefish_display_colors`. Pass a color scheme name, or `--all` to preview everything. - Make color overrides a bit fishier: use a `bobthefish_colors` function to override color schemes, rather than declaring a whole pile of variables. - Add support for a base color scheme in `bobthefish_colors`, in case you don't want to override everything. - Add a deprecation notice with upgrade instructions for users with old-style custom color schemes.
This commit is contained in:
@@ -128,8 +128,8 @@ set -g theme_newline_cursor yes
|
||||
| ![base16][base16] | ![base16-light][base16-light] |
|
||||
| ![zenburn][zenburn] | ![terminal-dark][terminal-dark] |
|
||||
|
||||
You can use the function `__bobthefish_display_colors` to preview the prompts in
|
||||
the current theme.
|
||||
You can use the function `bobthefish_display_colors` to preview the prompts in
|
||||
any color scheme.
|
||||
|
||||
Set `theme_color_scheme` in a terminal session or in your fish startup files to
|
||||
one of the following options to change the prompt colors.
|
||||
|
||||
Reference in New Issue
Block a user