changeset 184:4c6e4d53f8f6

Add colors to man pages
author zegervdv <zegervdv@me.com>
date Wed, 05 Nov 2014 22:26:37 +0100
parents fca0df810041
children 410492d49cb7
files zsh/exports.zsh zshrc
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
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")
+
--- a/zshrc	Wed Nov 05 22:18:41 2014 +0100
+++ b/zshrc	Wed Nov 05 22:26:37 2014 +0100
@@ -27,5 +27,4 @@
 }
 zle -N zle-line-init
 
-
 [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local