From 15f5f91e2af974c5408c582df459f659d459a678 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 13 May 2021 12:53:34 -0700 Subject: [PATCH] Change default pager to less. --- dotfiles/zshrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 1f5d04a..57738e2 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -145,9 +145,8 @@ if test -d ${HOME}/.local/bin ; then PATH=${PATH}:${HOME}/.local/bin fi -# Most is nice, if we have it -if command -v most >/dev/null 2>&1; then - export PAGER="most" +if test -z "${PAGER}" && command -v less >/dev/null 2>&1; then + export PAGER="less" fi # Load any local settings