# HG changeset patch # User zegervdv # Date 1664136705 0 # Node ID b26c4c6ac25c63ad88b635c2343ce47a5fd42848 # Parent 407d461cd377c51711c2d8257d5c95ee07ef0a0c Fix colors for man pages diff -r 407d461cd377 -r b26c4c6ac25c dot_zshrc --- a/dot_zshrc Sun Sep 25 16:50:42 2022 +0000 +++ b/dot_zshrc Sun Sep 25 20:11:45 2022 +0000 @@ -69,18 +69,19 @@ # Enter interactive search bindkey -M menuselect '^xi' vi-insert -export LESS_TERMCAP_mb=$(printf "\e[1;31m") -export LESS_TERMCAP_md=$(printf "\e[1;31m") -export LESS_TERMCAP_me=$(printf "\e[0m") -export LESS_TERMCAP_se=$(printf "\e[0m") -export LESS_TERMCAP_so=$(printf "\e[1;30;43m") -export LESS_TERMCAP_ue=$(printf "\e[0m") -export LESS_TERMCAP_us=$(printf "\e[1;32m") - export CLICOLOR=1 export LS_COLORS=$(cat ~/.lscolors) export LSCOLORS=$LS_COLORS +export LESS_TERMCAP_mb=$'\e[1;31m' +export LESS_TERMCAP_md=$'\e[38;2;47;111;159;48;2;244;250;255m' +export LESS_TERMCAP_me=$'\e[0m' +export LESS_TERMCAP_se=$'\e[0m' +export LESS_TERMCAP_so=$'\e[38;2;215;23;7m' +export LESS_TERMCAP_ue=$'\e[0m' +export LESS_TERMCAP_us=$'\e[1;32m' +export GROFF_NO_SGR=1 + # Options setopt monitor setopt auto_cd