# HG changeset patch # User zegervdv # Date 1415222797 -3600 # Node ID 4c6e4d53f8f6678d430a652aa4b444cd6a3e95fc # Parent fca0df8100410e3eb8366e21b3edeeea1b297dcb Add colors to man pages diff -r fca0df810041 -r 4c6e4d53f8f6 zsh/exports.zsh --- 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") + diff -r fca0df810041 -r 4c6e4d53f8f6 zshrc --- 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