Add config for bat
parent
d1090feefe
commit
3afa0e8930
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v bat &> /dev/null ; then
|
||||
alias cat='bat --pager=never'
|
||||
fi
|
@ -0,0 +1,4 @@
|
||||
#shellcheck disable=SC2034
|
||||
BAT_THEME=zenburn
|
||||
BAT_STYLE=plain
|
||||
MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
@ -0,0 +1,3 @@
|
||||
batdiff () {
|
||||
git diff --name-only --diff-filter=d | xargs bat --diff
|
||||
}
|
Loading…
Reference in New Issue