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
|
||||
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
|
||||
|
|
Reference in a new issue