Skip to content

Instantly share code, notes, and snippets.

@mvllow
Created August 11, 2021 23:00
Show Gist options
  • Save mvllow/44fe53933b59cac2a6f0c6d939ce9932 to your computer and use it in GitHub Desktop.
Save mvllow/44fe53933b59cac2a6f0c6d939ce9932 to your computer and use it in GitHub Desktop.
function use_terminal_colors
# Syntax highlighting variables
# https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables
set -U fish_color_normal normal
set -U fish_color_command magenta
set -U fish_color_keyword blue
set -U fish_color_quote yellow
set -U fish_color_redirection green
set -U fish_color_end brblack
set -U fish_color_error red
set -U fish_color_param cyan
set -U fish_color_comment brblack
set -U fish_color_selection --reverse
set -U fish_color_operator normal
set -U fish_color_escape green
set -U fish_color_autosuggestion brblack
set -U fish_color_cwd cyan
set -U fish_color_user yellow
set -U fish_color_host blue
set -U fish_color_host_remote magenta
set -U fish_color_cancel normal
set -U fish_color_search_match --background=black
# Pager color variables
# https://fishshell.com/docs/current/interactive.html#pager-color-variables
set -U fish_pager_color_progress cyan
set -U fish_pager_color_background
set -U fish_pager_color_prefix blue
set -U fish_pager_color_completion normal
set -U fish_pager_color_description normal
set -U fish_pager_color_selected_background --reverse
set -U fish_pager_color_selected_prefix
set -U fish_pager_color_selected_completion
set -U fish_pager_color_selected_description
set -U fish_pager_color_secondary_background
set -U fish_pager_color_secondary_prefix blue
set -U fish_pager_color_secondary_completion normal
set -U fish_pager_color_secondary_description normal
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment