Created
April 13, 2009 16:10
-
-
Save bhenderson/94506 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.profile | |
... | |
########## | |
# http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/ | |
# 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 | |
#bold colors don't work well in OSX Terminal. These changes add red keywords, with blue 'option' words (not sure precise term) | |
export LESS_TERMCAP_md=$'\E[00;31;2;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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment