Convert bat from stow to chezmoi
parent
0c402d3754
commit
e731010580
@ -1,5 +1,7 @@
|
|||||||
|
{{ if lookPath "bat" -}}
|
||||||
#shellcheck disable=SC2034
|
#shellcheck disable=SC2034
|
||||||
BAT_PAGER=never
|
BAT_PAGER=never
|
||||||
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 -l man -p'"
|
||||||
|
{{- end }}
|
@ -1,3 +1,5 @@
|
|||||||
|
{{ if lookPath "bat" -}}
|
||||||
if command -v bat &> /dev/null ; then
|
if command -v bat &> /dev/null ; then
|
||||||
alias cat=bat
|
alias cat=bat
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
Loading…
Reference in New Issue