From c99cc0b354fb2146abad166aa1f53f1c23b8253b Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 6 Mar 2012 11:57:33 +0100 Subject: [PATCH] Less Colors for Man Pages --- zsh/zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index d131406..d97b2be 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -49,3 +49,13 @@ zstyle ':completion:*:approximate:*' max-errors 1 numeric # Add path to our custom bins 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