summaryrefslogtreecommitdiffstats
path: root/bashrc/common/pager.sh
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 03:50:18 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2008-10-29 03:50:18 +0100
commit0cfdb493f045e7c533328617427a7416783c28b5 (patch)
treecc9a1a43343cef6550357eab1e25a1923dae627b /bashrc/common/pager.sh
parent4e4fb8d5d790d2cc6eabab95aaea4b81225ca164 (diff)
downloaddotfiles-0cfdb493f045e7c533328617427a7416783c28b5.tar.gz
dotfiles-0cfdb493f045e7c533328617427a7416783c28b5.tar.xz
dotfiles-0cfdb493f045e7c533328617427a7416783c28b5.zip
added bashrc configdir
added git config
Diffstat (limited to 'bashrc/common/pager.sh')
-rw-r--r--bashrc/common/pager.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bashrc/common/pager.sh b/bashrc/common/pager.sh
new file mode 100644
index 0000000..a92031e
--- /dev/null
+++ b/bashrc/common/pager.sh
@@ -0,0 +1,13 @@
+# pager options
+
+# use less by default ...
+if hash less; then
+ export PAGER=less
+ export LESS="-R --ignore-case --long-prompt"
+fi
+
+# but user most, if available
+if hash most; then
+ export PAGER=most
+ export MANPAGER=most
+fi