set moar as default $PAGER
This commit is contained in:
parent
233e049662
commit
a8fa568c23
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,7 @@ fi
|
||||||
if [ "${JSTMBASH_ALIASES_USE_MOAR}" == "true" ] && which moar &> /dev/null; then
|
if [ "${JSTMBASH_ALIASES_USE_MOAR}" == "true" ] && which moar &> /dev/null; then
|
||||||
alias "more=moar"
|
alias "more=moar"
|
||||||
alias "less=moar"
|
alias "less=moar"
|
||||||
|
export "PAGER=moar"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make programs fancier
|
# make programs fancier
|
||||||
|
@ -245,6 +246,7 @@ if [ "${JSTMBASH_FANCIER_MOAR}" == "true" ] && which moar &> /dev/null; then
|
||||||
alias "more=moar ${MOAR_ARGUMENTS}"
|
alias "more=moar ${MOAR_ARGUMENTS}"
|
||||||
# shellcheck disable=SC2139
|
# shellcheck disable=SC2139
|
||||||
alias "less=moar ${MOAR_ARGUMENTS}"
|
alias "less=moar ${MOAR_ARGUMENTS}"
|
||||||
|
export "PAGER=moar ${MOAR_ARGUMENTS}"
|
||||||
fi
|
fi
|
||||||
unset MOAR_ARGUMENTS
|
unset MOAR_ARGUMENTS
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue