Improve bat config

main
Buddy Sandidge 3 months ago
parent e26c766233
commit 85fc395d25

@ -16,10 +16,10 @@ EDITOR=vim
#{{- end }}#
#{{ if lookPath "bat" -}}#
BAT_PAGER=never
BAT_PAGER="less --raw-control-chars --quit-if-one-screen --no-init"
BAT_STYLE=plain
BAT_THEME=zenburn
MANPAGER="sh -c 'col -bx | bat -l man -p'"
MANPAGER="sh -c 'col -bx | bat --language man --plain'"
#{{ end -}}#
#{{ if eq .chezmoi.os "darwin" -}}#

@ -30,5 +30,5 @@ alias egrep='egrep --color=auto'
#{{ if lookPath "bat" -}}
alias batdiff='batdiff --pager=""'
alias cat=bat
alias cat='bat --paging=never'
#{{- end }}

Loading…
Cancel
Save