mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Allow custom named color schemes as plugins.
This commit is contained in:
parent
3b2e847fcc
commit
dd5e6b65d1
@ -469,6 +469,9 @@ function __bobthefish_colors -S -a color_scheme -d 'Define colors used by bobthe
|
||||
set -x color_desk $comment $bg --bold
|
||||
|
||||
case '*' # default dark theme
|
||||
if type -q "__bobthefish_color_scheme_$color_scheme"
|
||||
__bobthefish_color_scheme_$color_scheme
|
||||
else
|
||||
# light medium dark
|
||||
# ------ ------ ------
|
||||
set -l red cc9999 ce000f 660000
|
||||
@ -510,6 +513,7 @@ function __bobthefish_colors -S -a color_scheme -d 'Define colors used by bobthe
|
||||
set -x color_desk $blue[2] $grey[1] --bold
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function __bobthefish_user_color_scheme_deprecated
|
||||
set -q __color_initial_segment_exit; or set -l __color_initial_segment_exit ffffff ce000f --bold
|
||||
|
Loading…
Reference in New Issue
Block a user