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
|
set -x color_desk $comment $bg --bold
|
||||||
|
|
||||||
case '*' # default dark theme
|
case '*' # default dark theme
|
||||||
|
if type -q "__bobthefish_color_scheme_$color_scheme"
|
||||||
|
__bobthefish_color_scheme_$color_scheme
|
||||||
|
else
|
||||||
# light medium dark
|
# light medium dark
|
||||||
# ------ ------ ------
|
# ------ ------ ------
|
||||||
set -l red cc9999 ce000f 660000
|
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_virtualgo $go_blue $black --bold
|
||||||
set -x color_desk $blue[2] $grey[1] --bold
|
set -x color_desk $blue[2] $grey[1] --bold
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function __bobthefish_user_color_scheme_deprecated
|
function __bobthefish_user_color_scheme_deprecated
|
||||||
|
Loading…
Reference in New Issue
Block a user