Convert bat from stow to chezmoi

main
Buddy Sandidge 2 years ago
parent 0c402d3754
commit e731010580

@ -1,3 +1,4 @@
{{ if lookPath "bat" -}}
#!/usr/bin/env bash
alias batdiff='batdiff --pager=""'
@ -5,3 +6,4 @@ alias batdiff='batdiff --pager=""'
if command -v bat &> /dev/null ; then
alias cat=bat
fi
{{- end }}

@ -1,5 +1,7 @@
{{ if lookPath "bat" -}}
#shellcheck disable=SC2034
BAT_PAGER=never
BAT_STYLE=plain
BAT_THEME=zenburn
MANPAGER="sh -c 'col -bx | bat -l man -p'"
{{- end }}

@ -1,3 +1,5 @@
{{ if lookPath "bat" -}}
if command -v bat &> /dev/null ; then
alias cat=bat
fi
{{- end }}
Loading…
Cancel
Save