aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-04-15 15:09:21 +0200
committerDavid Runge <david.runge@frqrec.com>2014-04-15 15:09:21 +0200
commit4ad1bbb1650974106dade14eeaf68e9f91430c3b (patch)
tree72c287423ed5b959723dda93e39502dec02412fe
parent899fa24894f4ec29e0b4cbea3dba154231e7aa0a (diff)
downloaddotfiles-4ad1bbb1650974106dade14eeaf68e9f91430c3b.tar.gz
dotfiles-4ad1bbb1650974106dade14eeaf68e9f91430c3b.tar.bz2
dotfiles-4ad1bbb1650974106dade14eeaf68e9f91430c3b.tar.xz
dotfiles-4ad1bbb1650974106dade14eeaf68e9f91430c3b.zip
Fixing vimpager to work as less replacement properly.
-rw-r--r--.zsh.after/export.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 9ffdc95..4934ad7 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -3,10 +3,10 @@ export TERM=rxvt-unicode-256color
export REPORTTIME=30
-if [[ "$HOST" == *giev* ]];then
- export PAGER="less -j4"
-else
+if [[ -x /usr/bin/vimpager ]];then
export PAGER="vimpager"
+else
+ export PAGER="less -j4"
fi
export GREP_COLOR="1;33"