Fix bat styling
This commit is contained in:
parent
65fc25d711
commit
ca8976b374
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ if [ "${JSTMBASH_FANCIER_BAT}" == "true" ] && which bat &> /dev/null; then
|
||||||
if [ "${JSTMBASH_FANCIER_BAT_USE_PAGER}" == "true" ] && which moar &> /dev/null; then
|
if [ "${JSTMBASH_FANCIER_BAT_USE_PAGER}" == "true" ] && which moar &> /dev/null; then
|
||||||
export "env PAGER=moar --no-linenumbers "
|
export "env PAGER=moar --no-linenumbers "
|
||||||
fi
|
fi
|
||||||
BAT_ARGUMENTS="-colors 16M --statusbar bold --decorations=always --color=always --theme=Dracula --italic-text=always --wrap=never --nonprintable-notation=caret --paging=auto --style full"
|
BAT_ARGUMENTS="--colors 16M --statusbar bold --decorations=always --color=always --theme=Dracula --italic-text=always --wrap=never --nonprintable-notation=caret --paging=auto --style full"
|
||||||
# shellcheck disable=SC2139
|
# shellcheck disable=SC2139
|
||||||
alias "bat=${PAGER}$(which bat) ${BAT_ARGUMENTS}"
|
alias "bat=${PAGER}$(which bat) ${BAT_ARGUMENTS}"
|
||||||
if [ "${JSTMBASH_ALIASES_USE_BAT}" == "true" ]; then
|
if [ "${JSTMBASH_ALIASES_USE_BAT}" == "true" ]; then
|
||||||
|
|
Reference in a new issue