From 55cfc718e32ee9d5066dd1b8ce320e3d576fac7f Mon Sep 17 00:00:00 2001 From: "Eric N. Vander Weele" Date: Thu, 6 Apr 2023 22:30:47 -0400 Subject: [PATCH] wip: fish: Create personal port of Nord color theme An official Nord port for the fish shell doesn't exist (i.e., https://github.com/nordtheme/nord/issues/102), and the fish shell's built-in Nord theme doesn't adhere to the color palette recommendations. I'll use this until the official port exists to move over to. --- fish/.config/fish/conf.d/nordtheme.fish | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 fish/.config/fish/conf.d/nordtheme.fish diff --git a/fish/.config/fish/conf.d/nordtheme.fish b/fish/.config/fish/conf.d/nordtheme.fish new file mode 100644 index 0000000..eefeda4 --- /dev/null +++ b/fish/.config/fish/conf.d/nordtheme.fish @@ -0,0 +1,45 @@ +set -l nord0 2e3440 +set -l nord1 3b4252 +set -l nord2 434c5e +set -l nord3 4c566a +set -l nord4 d8dee9 +set -l nord5 e5e9f0 +set -l nord6 eceff4 +set -l nord7 8fbcbb +set -l nord8 88c0d0 +set -l nord9 81a1c1 +set -l nord10 5e81ac +set -l nord11 bf616a +set -l nord12 d08770 +set -l nord13 ebcb8b +set -l nord14 a3be8c +set -l nord15 b48ead + +#XXX: Keep fish_color_param and fish_color_operator the same to ensure +# ~/… looks consistent when typing in the terminal. + +set -g fish_color_normal normal +set -g fish_color_command $nord8 +set -g fish_color_keyword $nord9 +set -g fish_color_quote $nord14 +set -g fish_color_redirection $nord15 --bold +set -g fish_color_end $nord9 +set -g fish_color_error $nord11 +set -g fish_color_param $nord10 +set -g fish_color_valid_path --underline +set -g fish_color_option $nord7 +set -g fish_color_comment $nord3 --italics +set -g fish_color_selection $nord4 --bold --background=$nord2 +set -g fish_color_operator $nord10 +set -g fish_color_escape $nord13 +set -g fish_color_autosuggestion $nord3 +set -g fish_color_cwd $nord9 +set -g fish_color_cwd_root $nord11 +set -g fish_color_user $nord14 +set -g fish_color_host $nord14 +set -g fish_color_host_remote $nord13 +set -g fish_color_status $nord11 +set -g fish_color_cancel --reverse +set -g fish_color_search_match --bold --background=$nord2 + +set -g fish_color_history_current --bold