Less Colors for Man Pages

This commit is contained in:
Fabio 2012-03-06 11:57:33 +01:00 committed by Fabio
parent 4d0fa73cec
commit c99cc0b354

View File

@ -49,3 +49,13 @@ zstyle ':completion:*:approximate:*' max-errors 1 numeric
# Add path to our custom bins # Add path to our custom bins
export PATH=/usr/local/bin:$PATH:$yadr/bin:$yadr/bin/yadr export PATH=/usr/local/bin:$PATH:$yadr/bin:$yadr/bin/yadr
# Less Colors for Man Pages
# http://linuxtidbits.wordpress.com/2009/03/23/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