summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/bash/environment.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/environment.sh b/.config/bash/environment.sh
index fd9f496..e07628f 100644
--- a/.config/bash/environment.sh
+++ b/.config/bash/environment.sh
@@ -13,7 +13,7 @@ fi
# view -c 'set ft=man' -c 'set titlestring=man' -c 'set number!' -"
# since vim has support - use built in ones..
-if [ `hash vimpager 2>&-` ]; then
+if [ `type -P vimpager 2>&-` ]; then
export MANPAGER="vimmanpager"
export PAGER="vimpager"
fi