summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc/common/pager.sh4
1 files changed, 2 insertions, 2 deletions
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