Clean up bat config

main
Buddy Sandidge 4 years ago
parent 996ee7e9d6
commit a058ef8799

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if command -v bat &> /dev/null ; then if command -v bat &> /dev/null ; then
alias cat='bat --pager=never' alias cat=bat
fi fi

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

@ -1,3 +0,0 @@
batdiff () {
git diff --name-only --diff-filter=d | xargs bat --diff
}
Loading…
Cancel
Save