From 935ce0820a20fe4ee9ed10e988883abd2c9f3eae Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 30 Oct 2008 22:35:44 +0100 Subject: hash quite --- bashrc/common/pager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc/common/pager.sh b/bashrc/common/pager.sh index a92031e..454d37e 100644 --- a/bashrc/common/pager.sh +++ b/bashrc/common/pager.sh @@ -1,13 +1,13 @@ # pager options # use less by default ... -if hash less; then +if hash less 2>&1 > /dev/null ; then export PAGER=less export LESS="-R --ignore-case --long-prompt" fi # but user most, if available -if hash most; then +if hash most 2>&1 > /dev/null ; then export PAGER=most export MANPAGER=most fi -- cgit v1.2.3