Skip to content

Instantly share code, notes, and snippets.

@versusvoid
Created November 3, 2021 15:17
Show Gist options
  • Save versusvoid/c397502e60f95e9483e5f2d924fd486c to your computer and use it in GitHub Desktop.
Save versusvoid/c397502e60f95e9483e5f2d924fd486c to your computer and use it in GitHub Desktop.
base16 fish coloring matching alacritty base16 theme
# actually displayed colors corresponding to black, white, magenta etc.
# are changed by alacritty
if status --is-interactive; and test $TERM = alacritty
# the completion itself, i.e. the proposed rest of the string
set fish_pager_color_completion normal
# background of the selected completion
set fish_pager_color_selected_background --background=bryellow
# the completion description
set fish_pager_color_description brblack
# the prefix string, i.e. the string that is to be completed
set fish_pager_color_prefix normal --bold --underline
#the progress bar at the bottom left corner
set fish_pager_color_progress brblue --background=brgreen
# the background color of a line
#set fish_pager_color_background
# prefix of the selected completion
#set fish_pager_color_selected_prefix
# suffix of the selected completion
#set fish_pager_color_selected_completion
# description of the selected completion
#set fish_pager_color_selected_description
# background of every second unselected completion
#set fish_pager_color_secondary_background
# prefix of every second unselected completion
#set fish_pager_color_secondary_prefix
# suffix of every second unselected completion
#set fish_pager_color_secondary_completion
# description of every second unselected completion
#set fish_pager_color_secondary_description
# autosuggestions (the proposed rest of a command)
set fish_color_autosuggestion brblue
# the '^C' indicator on a canceled command
set fish_color_cancel -r
# commands like echo
set fish_color_command yellow
# comments like '# important'
set fish_color_comment brblack
# the current working directory in the default prompt
set fish_color_cwd yellow
# process separators like ';' and '&'
set fish_color_end white
# syntax errors
set fish_color_error brcyan
# character escapes like 'n' and 'x70'
set fish_color_escape cyan
# dirh current dir
set fish_color_history_current --bold
# the hostname in the default prompt
set fish_color_host normal
# the hostname in the default prompt for remote sessions (like ssh)
set fish_color_host_remote red
# keywords like if - this falls back on the command color if unset
set fish_color_keyword brred
# default color
set fish_color_normal white
# parameter expansion operators like '*' and '~'
set fish_color_operator cyan
# ordinary command parameters
set fish_color_param white
# quoted text like "abc"
set fish_color_quote green
# IO redirections like >/dev/null
set fish_color_redirection brmagenta
#history search matches and selected pager items (background only)
set fish_color_search_match --background=bryellow
# selected text in vi visual mode
set fish_color_selection --background=bryellow
# the username in the default prompt
set fish_color_user yellow
set fish_color_valid_path --underline
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment