summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2008-10-30 22:38:19 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2008-10-30 22:38:19 +0100
commit449ceafbbdd8c8847b27ad883c7746397fbb4b96 (patch)
tree0781105bddae4356fed8e752820fa3da631a732d
parent935ce0820a20fe4ee9ed10e988883abd2c9f3eae (diff)
downloaddotfiles-449ceafbbdd8c8847b27ad883c7746397fbb4b96.tar.gz
dotfiles-449ceafbbdd8c8847b27ad883c7746397fbb4b96.tar.xz
dotfiles-449ceafbbdd8c8847b27ad883c7746397fbb4b96.zip
bug fixed
-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