Skip to content

Commit

Permalink
wip: fish: Create personal port of Nord color theme
Browse files Browse the repository at this point in the history
An official Nord port for the fish shell doesn't exist (i.e.,
nordtheme/nord#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.
  • Loading branch information
ericvw committed Apr 7, 2023
1 parent 9a7dc40 commit 55cfc71
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions fish/.config/fish/conf.d/nordtheme.fish
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 55cfc71

Please sign in to comment.