diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-10-07 19:40:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-10-07 19:40:23 +0200 |
commit | f9a5ce35b1a6e1b6f89883d01ae07f881582edda (patch) | |
tree | 39cbb757f0ddeaa6d7ac67227f0d5738b6ef2d55 /.zshrc | |
parent | 9541406225d954fd578d6daa9565077234a00ba4 (diff) | |
download | dotfiles-f9a5ce35b1a6e1b6f89883d01ae07f881582edda.tar.gz dotfiles-f9a5ce35b1a6e1b6f89883d01ae07f881582edda.tar.xz |
zshrc: only use vimpager when available; fix whitespace error
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |