summaryrefslogtreecommitdiff
path: root/.config/bash
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-01-04 19:13:01 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-01-04 19:13:01 +0100
commit3d0f7e6211f3873417f8d0c69821dedd6879dbc0 (patch)
treed58d162f813e6c31100e36d1dcd423a97a3e7856 /.config/bash
parentf1b8308baf0d3a4f35ead3a723a6ceb827627d77 (diff)
downloaddotfiles-3d0f7e6211f3873417f8d0c69821dedd6879dbc0.tar.gz
dotfiles-3d0f7e6211f3873417f8d0c69821dedd6879dbc0.tar.bz2
dotfiles-3d0f7e6211f3873417f8d0c69821dedd6879dbc0.zip
bash: Use type -P for checking for vimpager
Diffstat (limited to '.config/bash')
-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