diff zsh/exports.zsh @ 184:4c6e4d53f8f6

Add colors to man pages
author zegervdv <zegervdv@me.com>
date Wed, 05 Nov 2014 22:26:37 +0100
parents b18950d832ab
children 4e723feac624
line wrap: on
line diff
--- a/zsh/exports.zsh	Wed Nov 05 22:18:41 2014 +0100
+++ b/zsh/exports.zsh	Wed Nov 05 22:26:37 2014 +0100
@@ -29,3 +29,13 @@
 export EDITOR='vim'
 # CTAGS Sorting in VIM/Emacs is better behaved with this in place
 export LC_COLLATE=C
+
+# Color Man Pages
+export LESS_TERMCAP_mb=$(printf "\e[1;31m")
+export LESS_TERMCAP_md=$(printf "\e[1;31m")
+export LESS_TERMCAP_me=$(printf "\e[0m")
+export LESS_TERMCAP_se=$(printf "\e[0m")
+export LESS_TERMCAP_so=$(printf "\e[1;44;33m")
+export LESS_TERMCAP_ue=$(printf "\e[0m")
+export LESS_TERMCAP_us=$(printf "\e[1;32m")
+