Last active
August 29, 2015 14:14
-
-
Save meoso/36cb20c41062415cbffc to your computer and use it in GitHub Desktop.
bash colorization
This file contains hidden or 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
############## | |
# in ~/.bashrc | |
############## | |
#color in terminal | |
export GREP_OPTIONS='--color=auto' | |
export COLORTERM=terminator | |
export TERM=xterm-256color | |
export CLICOLOR=1 | |
#export LSCOLORS=ExFxCxDxCxegedabagacad | |
alias ls='ls --color=auto' | |
## 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 | |
export LESS_TERMCAP_mr=$(tput rev) | |
export LESS_TERMCAP_mh=$(tput dim) | |
export LESS_TERMCAP_ZN=$(tput ssubm) | |
export LESS_TERMCAP_ZV=$(tput rsubm) | |
export LESS_TERMCAP_ZO=$(tput ssupm) | |
export LESS_TERMCAP_ZW=$(tput rsupm) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment