Allow custom named color schemes as plugins.

This commit is contained in:
Duke Jones 2019-06-04 12:33:14 -07:00
parent 3b2e847fcc
commit dd5e6b65d1

View File

@ -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
@ -509,6 +512,7 @@ function __bobthefish_colors -S -a color_scheme -d 'Define colors used by bobthe
set -x color_virtualgo $go_blue $black --bold
set -x color_desk $blue[2] $grey[1] --bold
end
end
end
function __bobthefish_user_color_scheme_deprecated