forked from logan/dotfiles
Added colors for less
This commit is contained in:
parent
12ea1be9e4
commit
13e6e40636
1 changed files with 9 additions and 0 deletions
9
.bashrc
9
.bashrc
|
@ -27,6 +27,15 @@ export HISTSIZE=1000
|
||||||
export HISTFILESIZE=2000
|
export HISTFILESIZE=2000
|
||||||
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
||||||
|
|
||||||
|
export LESS=-R
|
||||||
|
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
||||||
|
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
||||||
|
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
||||||
|
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
|
||||||
|
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
||||||
|
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
||||||
|
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||||
|
|
||||||
complete -cf sudo
|
complete -cf sudo
|
||||||
complete -cf swallow
|
complete -cf swallow
|
||||||
complete -cf sw
|
complete -cf sw
|
||||||
|
|
Loading…
Reference in a new issue