mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Support colours in less
This commit is contained in:
parent
f5c1a957d3
commit
0234005a3e
1 changed files with 8 additions and 0 deletions
8
lib/less.zsh
Normal file
8
lib/less.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# support colors in less
|
||||||
|
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||||
|
export LESS_TERMCAP_md=$'\E[01;31m'
|
||||||
|
export LESS_TERMCAP_me=$'\E[0m'
|
||||||
|
export LESS_TERMCAP_se=$'\E[0m'
|
||||||
|
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||||
|
export LESS_TERMCAP_ue=$'\E[0m'
|
||||||
|
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue