I have this in my .zshrc file
export MANLESS="" export LESS="--RAW-CONTROL-CHARS" export LESS_TERMCAP_mb=$(tput bold; tput setaf 5) export LESS_TERMCAP_md=$(tput bold; tput setaf 1) export LESS_TERMCAP_so=$(tput setaf 1; tput setab 3) export LESS_TERMCAP_se=$(tput rmso; tput sgr0) export LESS_TERMCAP_us=$(tput setaf 3) export LESS_TERMCAP_ue=$(tput sgr0) When I use man as: man zshexpn, I have nicely colored sections:
When I use man as: man zshexpn | less '+/PROCESS SUBSTITUTION', on same part of the manual page, it is no longer colored:
How can I get colored output in second case, same as first case?

