summaryrefslogtreecommitdiffstats
path: root/bashrc/common
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2008-10-30 22:35:44 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2008-10-30 22:35:44 +0100
commit935ce0820a20fe4ee9ed10e988883abd2c9f3eae (patch)
tree6da82ec5151fc9f2ac8df0361f8871e50224b490 /bashrc/common
parentbbcaf4e26a0da0d0eb47788e4e68741b31cb2ab8 (diff)
downloaddotfiles-935ce0820a20fe4ee9ed10e988883abd2c9f3eae.tar.gz
dotfiles-935ce0820a20fe4ee9ed10e988883abd2c9f3eae.tar.xz
dotfiles-935ce0820a20fe4ee9ed10e988883abd2c9f3eae.zip
hash quite
Diffstat (limited to 'bashrc/common')
-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 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