From 449ceafbbdd8c8847b27ad883c7746397fbb4b96 Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Thu, 30 Oct 2008 22:38:19 +0100
Subject: bug fixed

---
 bashrc/common/pager.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'bashrc')

diff --git a/bashrc/common/pager.sh b/bashrc/common/pager.sh
index 454d37e..e46410f 100644
--- a/bashrc/common/pager.sh
+++ b/bashrc/common/pager.sh
@@ -1,13 +1,13 @@
 # pager options
 
 # use less by default ...
-if hash less 2>&1 > /dev/null ; then
+if hash less > /dev/null 2&>1 ; then
 	export PAGER=less
 	export LESS="-R --ignore-case --long-prompt"
 fi
 
 # but user most, if available
-if hash most 2>&1 > /dev/null ; then
+if hash most > /dev/null 2>&1 ; then
 	export PAGER=most
 	export MANPAGER=most
 fi
-- 
cgit v1.2.3