Improve bat config

main
Buddy Sandidge 3 months ago
parent e26c766233
commit 85fc395d25

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

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

Loading…
Cancel
Save