|
@@ -40,9 +40,11 @@ export TERMCAP="${TERMCAP}:vb=" |
|
|
|
|
|
|
|
|
export PAGER="less" |
|
|
export PAGER="less" |
|
|
export LESS="-iMRX" |
|
|
export LESS="-iMRX" |
|
|
if which bat >/dev/null |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__batcommand=$(command -v bat || command -v batcat) |
|
|
|
|
|
if test -n "$__batcommand" |
|
|
then |
|
|
then |
|
|
export LESSOPEN="| bat --color=always %s" |
|
|
|
|
|
|
|
|
export LESSOPEN="| $__batcommand --color=always %s" |
|
|
# export LESSOPEN="| bat --color=always --decorations=never %s" |
|
|
# export LESSOPEN="| bat --color=always --decorations=never %s" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|