Skip to content
Browse files

Less Colors for Man Pages

  • Loading branch information...
1 parent 4d0fa73 commit c99cc0b354fb2146abad166aa1f53f1c23b8253b Fabio committed with fabiopelosin Mar 6, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 zsh/zshrc
View
10 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

0 comments on commit c99cc0b

Please sign in to comment.
Something went wrong with that request. Please try again.