]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blobdiff - .zprofile
fix: set readable colors and update comment
[user/henk/vcsh/zsh.git] / .zprofile
index 9947b36eac20cede95843a3371808a024cc5a438..a79c4e07cc599ac53515bbe4a422b090997aa581 100644 (file)
--- 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
@@ -43,6 +44,10 @@ export TEXMFCNF=${HOME}/.texlive:
 export FZF_DEFAULT_COMMAND='fdfind --type f'
 
 
+# zsh you-should-use
+export YSU_MODE=ALL
+
+
 # colors for newt/whiptail (for debconf, needrestart, etc.)
 # works better with selenized colorscheme
 # everything that seems irrelevant is set to brown
@@ -74,8 +79,8 @@ NEWT_COLORS="${NEWT_COLORS};checkbox=black,blue"
 # selection marker for checkbox
 NEWT_COLORS="${NEWT_COLORS};actcheckbox=yellow,gray"
 
-# TODO FIXME: no clue what that is
-NEWT_COLORS="${NEWT_COLORS};entry=yellow,brown"
+# text input field fore- and background
+NEWT_COLORS="${NEWT_COLORS};entry=yellow,blue"
 # TODO FIXME: no clue what that is
 NEWT_COLORS="${NEWT_COLORS};disentry=brown,yellow"
 
@@ -122,3 +127,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
+