Fix bat error
This commit is contained in:
parent
54e2228857
commit
e7cc466b46
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ if [ "${JSTMBASH_FANCIER_BAT}" == "true" ] && which bat &> /dev/null; then
|
||||||
fi
|
fi
|
||||||
BAT_ARGUMENTS="--decorations=always --color=always --theme=Dracula --italic-text=always --wrap=never --nonprintable-notation=caret --paging=auto --style full ${PAGER}"
|
BAT_ARGUMENTS="--decorations=always --color=always --theme=Dracula --italic-text=always --wrap=never --nonprintable-notation=caret --paging=auto --style full ${PAGER}"
|
||||||
# shellcheck disable=SC2139
|
# shellcheck disable=SC2139
|
||||||
alias "bat=$(which bat) ${BAT_ARGUMENTS}"
|
alias "bat=env PAGER=moar $(which bat) ${BAT_ARGUMENTS}"
|
||||||
if [ "${JSTMBASH_ALIASES_USE_BAT}" == "true" ]; then
|
if [ "${JSTMBASH_ALIASES_USE_BAT}" == "true" ]; then
|
||||||
# shellcheck disable=SC2139
|
# shellcheck disable=SC2139
|
||||||
alias "cat=$(which bat) ${BAT_ARGUMENTS}"
|
alias "cat=$(which bat) ${BAT_ARGUMENTS}"
|
||||||
|
|
Reference in a new issue