Convert bat from stow to chezmoi
This commit is contained in:
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 }}
|
||||
0
bat/.local/bin/install-bat-home → dot_local/bin/executable_install-bat-home
Executable file → Normal file
0
bat/.local/bin/install-bat-home → dot_local/bin/executable_install-bat-home
Executable file → Normal file
Loading…
Reference in New Issue
Block a user