Colorize man pages through LESS_TERMCAP

This commit is contained in:
Fabio Scotto di Santolo
2026-04-17 16:17:49 +02:00
parent a14ba14a3e
commit 3db0747253

View File

@@ -0,0 +1,10 @@
export LESS='-R'
# Keep man pages readable with a subdued Yaru-like palette.
export LESS_TERMCAP_mb=$'\e[0;38;5;110m'
export LESS_TERMCAP_md=$'\e[1;38;5;111m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_so=$'\e[38;5;252;48;5;238m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_us=$'\e[0;38;5;209m'
export LESS_TERMCAP_ue=$'\e[0m'