From a8fa568c2339058c4af59a92e35760cd2b7bada2 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 13 Nov 2023 04:57:15 +0100 Subject: [PATCH] set moar as default $PAGER --- init.source | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.source b/init.source index 385f759..7757c05 100644 --- a/init.source +++ b/init.source @@ -166,6 +166,7 @@ fi if [ "${JSTMBASH_ALIASES_USE_MOAR}" == "true" ] && which moar &> /dev/null; then alias "more=moar" alias "less=moar" + export "PAGER=moar" fi # make programs fancier @@ -245,6 +246,7 @@ if [ "${JSTMBASH_FANCIER_MOAR}" == "true" ] && which moar &> /dev/null; then alias "more=moar ${MOAR_ARGUMENTS}" # shellcheck disable=SC2139 alias "less=moar ${MOAR_ARGUMENTS}" + export "PAGER=moar ${MOAR_ARGUMENTS}" fi unset MOAR_ARGUMENTS fi