summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 427532c..3d31750 100644
--- a/.zshrc
+++ b/.zshrc
@@ -188,8 +188,10 @@ export OOO_FORCE_DESKTOP=gnome
export EDITOR=vim
export VISUAL=$EDITOR
export PAGER=less
-export MANPAGER=vimpager
-export PERLDOC_PAGER=vimpager
+if type vimpager &>/dev/null; then
+ export MANPAGER=vimpager
+ export PERLDOC_PAGER=vimpager
+fi
export LESSCHARSET="UTF-8"
export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-'
export LESS='-i -n -w -g -M -R -P%t?f%f \
@@ -811,7 +813,7 @@ source $HOME/.zshrc.local
# }}}
-# Show again
+# Show again
stty echo
# vim: set ft=zsh: