feat(fish): Add colorscheme to fish

This commit is contained in:
Mr Hedgehog 2022-02-15 06:12:39 -05:00
parent 91aea80046
commit 01911e6c9b
No known key found for this signature in database
GPG key ID: A5F69F6C161FDA7E
2 changed files with 33 additions and 0 deletions

View 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
'';
}

View file

@ -2,6 +2,7 @@
, ...
}:
{
imports = [ ./colors.nix ];
programs.fish = {
enable = true;
shellAliases = {