feat(fish): Add colorscheme to fish
This commit is contained in:
parent
91aea80046
commit
01911e6c9b
2 changed files with 33 additions and 0 deletions
32
home/programs/fish/colors.nix
Normal file
32
home/programs/fish/colors.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
programs.fish.shellInit = ''
|
||||
set -l foreground c0caf5
|
||||
set -l selection 33467C
|
||||
set -l comment 565f89
|
||||
set -l red f7768e
|
||||
set -l orange ff9e64
|
||||
set -l yellow e0af68
|
||||
set -l green 9ece6a
|
||||
set -l purple 9d7cd8
|
||||
set -l cyan 7dcfff
|
||||
set -l pink bb9af7
|
||||
set -g fish_color_normal $foreground
|
||||
set -g fish_color_command $cyan
|
||||
set -g fish_color_keyword $pink
|
||||
set -g fish_color_quote $yellow
|
||||
set -g fish_color_redirection $foreground
|
||||
set -g fish_color_end $orange
|
||||
set -g fish_color_error $red
|
||||
set -g fish_color_param $purple
|
||||
set -g fish_color_comment $comment
|
||||
set -g fish_color_selection --background=$selection
|
||||
set -g fish_color_search_match --background=$selection
|
||||
set -g fish_color_operator $green
|
||||
set -g fish_color_escape $pink
|
||||
set -g fish_color_autosuggestion $comment
|
||||
set -g fish_pager_color_progress $comment
|
||||
set -g fish_pager_color_prefix $cyan
|
||||
set -g fish_pager_color_completion $foreground
|
||||
set -g fish_pager_color_description $comment
|
||||
'';
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
, ...
|
||||
}:
|
||||
{
|
||||
imports = [ ./colors.nix ];
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
|
|
Loading…
Reference in a new issue