From 4aac9d9dbea804a2f2d7ce0733d93e3cd86d8bf6 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Tue, 28 Apr 2020 21:33:02 -0500 Subject: [PATCH] fish: add termcap color settings --- fish/config.fish | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fish/config.fish b/fish/config.fish index 6a32f5a..46e4af9 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -38,6 +38,15 @@ set -g __fish_git_prompt_color_stashstate cyan set -g __fish_git_prompt_color_untrackedfiles cyan set -g __fish_git_prompt_color_upstream yellow +# Termcap colors (used by less, and therefore man) +set -x LESS_TERMCAP_mb (set_color brmagenta) +set -x LESS_TERMCAP_md (set_color brred) +set -x LESS_TERMCAP_me (set_color normal) +set -x LESS_TERMCAP_se (set_color normal) +set -x LESS_TERMCAP_so (set_color -b blue black) +set -x LESS_TERMCAP_ue (set_color normal) +set -x LESS_TERMCAP_us (set_color brgreen) + # Abbreviations abbr -a -g d docker abbr -a -g vi nvim