aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"