Colour man pages

Colour man pages

I have been experimenting with the solarized colour palate for my console screens. One thing that I needed was colour man pages (I use man pages all the time)

I found this post

add the following to your ~/.bashrc
# Less Colors for Man Pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline

once added, type

source ~/.bashrc

to apply.

Tags for Colour man pages

source time