fish: add termcap color settings

This commit is contained in:
Charles Gould 2020-04-28 21:33:02 -05:00
parent 696356f7f1
commit 4aac9d9dbe

View File

@ -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_untrackedfiles cyan
set -g __fish_git_prompt_color_upstream yellow 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 # Abbreviations
abbr -a -g d docker abbr -a -g d docker
abbr -a -g vi nvim abbr -a -g vi nvim