Colorific Man Page
paul
posted @ Sat, 27 Nov 2010 03:12:35 +0800
in linux
, 1683 readers
# For colourful man pages (CLUG-Wiki style)
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
Add the above in the .bashrc or .profile file
This work is licensed under a Creative Commons Attribution 3.0 Unported License.