Browse Source

Set LESSOPEN to use bat

master
10sr 5 years ago
parent
commit
774dcd8fbb
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      profile

+ 5
- 0
profile View File

@@ -39,6 +39,11 @@ export TERMCAP="${TERMCAP}:vb="


export PAGER="less" export PAGER="less"
export LESS="-iMRX" export LESS="-iMRX"
if which bat >/dev/null
then
export LESSOPEN="| bat --color=always %s"
# export LESSOPEN="| bat --color=always --decorations=never %s"
fi


if false which nvim >/dev/null if false which nvim >/dev/null
then then


Loading…
Cancel
Save