Colorful man pages

If you want to see colorful output from man pages, you can set special less pager variables as follow in your .bashrc (it is optimized for dark backgrounds, you can change it)

export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;37m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'







You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: