Created
October 10, 2015 09:25
-
-
Save egel/86559964e4740d300aa0 to your computer and use it in GitHub Desktop.
Bash color man pages
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
# To work, link this file to your .bashrc file | |
# Add colors to man pages | |
export LESS_TERMCAP_mb=$'\E[01;31m' # enter blinking mode | |
export LESS_TERMCAP_md=$'\E[01;31m' # enter double-bright mode | |
export LESS_TERMCAP_me=$'\E[0m' # turn off all appearance modes (mb, md, so, us) | |
export LESS_TERMCAP_se=$'\E[0m' # leave standout mode | |
export LESS_TERMCAP_so=$'\E[01;44;33m' # enter standout mode – yellow | |
export LESS_TERMCAP_ue=$'\E[0m' # leave underline mode | |
export LESS_TERMCAP_us=$'\E[01;32m' # enter underline mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment