diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-04 19:13:01 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-04 19:13:01 +0100 |
commit | 3d0f7e6211f3873417f8d0c69821dedd6879dbc0 (patch) | |
tree | d58d162f813e6c31100e36d1dcd423a97a3e7856 /.config/bash | |
parent | f1b8308baf0d3a4f35ead3a723a6ceb827627d77 (diff) | |
download | dotfiles-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.sh | 2 |
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 |