summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zprofile25
1 files changed, 25 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile
index 9947b36..1a7f0da 100644
--- a/.zprofile
+++ b/.zprofile
@@ -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
+