config/shell: fix less man page styling

Search highlighting in light mode made characters invisible
This commit is contained in:
xeruf 2022-09-03 20:07:41 +02:00
parent 53a6aabc69
commit aee17fb21a
2 changed files with 3 additions and 3 deletions

View File

@ -62,8 +62,8 @@ theme() {
#mozfile=$(find $HOME/.mozilla/firefox/ -maxdepth 2 -name addonStartup.json.lz4 | grep ".test")
case "$theme" in
(light)
export LESS_TERMCAP_md=$'\e[1;34m' # bold
export LESS_TERMCAP_so=$'\e[37m' # bottom indication
# LESS_TERMCAP_DEBUG=true man man
export LESS_TERMCAP_md=$'\e[1;34m' # bold blue
export BAT_THEME="OneHalfLight"
konsoleprofile colors="Light"
sed -i 's/#\(include.*\/light-256.theme\)/\1/' "$XDG_CONFIG_HOME/task/taskrc"

View File

@ -98,7 +98,7 @@ export PASSWORD_STORE_ENABLE_EXTENSIONS="true"
export MANPAGER="less --squeeze-blank-lines +Gg"
export LESS_TERMCAP_mb=$'\e[1;31m' # begin bold
export LESS_TERMCAP_md=$'\e[1;32m' # begin blink
export LESS_TERMCAP_so=$'\e[36m' # bottom indication
export LESS_TERMCAP_so=$'\e[36m' # bottom indication and search highlight
export LESS_TERMCAP_us=$'\e[4;33m' # begin underline
export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink
export LESS_TERMCAP_se=$'\e[0m' # reset reverse video