diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-12-29 13:24:14 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-08 13:37:02 +0100 |
commit | babcd10b656600c17b83da7c70c25c8df9ee67d3 (patch) | |
tree | b266aea7f7d6bffb43b329a6e1d41ecaa8cc911e /.zprofile | |
parent | 0386496bff759e5dbbe3aa765f886beeb34016de (diff) |
add: default pager and colors for 'less'
Diffstat (limited to '.zprofile')
-rw-r--r-- | .zprofile | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -10,6 +10,7 @@ export PATH export DEBEMAIL=deb@henk.geekmail.org #export BROWSER=iceweasel export EDITOR=vim +export PAGER=less # language should generally be english @@ -122,3 +123,27 @@ export NEWT_COLORS # lightmagenta # lightred + +# 'less' colors for man pages +# Colors +default=$(tput sgr0) +red=$(tput setaf 1) +green=$(tput setaf 2) +purple=$(tput setaf 5) +orange=$(tput setaf 9) + +# Begin blinking +export LESS_TERMCAP_mb=$red +# Begin bold +export LESS_TERMCAP_md=$orange +# End mode +export LESS_TERMCAP_me=$default +# End standout-mode +export LESS_TERMCAP_se=$default +# Begin standout-mode - info box +export LESS_TERMCAP_so=$purple +# End underline +export LESS_TERMCAP_ue=$default +# Begin underline +export LESS_TERMCAP_us=$green + |