diff --git a/bat/.config/bash/bashrc.d/bat.sh b/bat/.config/bash/bashrc.d/bat.sh index ad27953..230f9ad 100644 --- a/bat/.config/bash/bashrc.d/bat.sh +++ b/bat/.config/bash/bashrc.d/bat.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash if command -v bat &> /dev/null ; then - alias cat='bat --pager=never' + alias cat=bat fi diff --git a/bat/.config/profile/env.d/bat.env b/bat/.config/profile/env.d/bat.env index f7f5376..2fda846 100644 --- a/bat/.config/profile/env.d/bat.env +++ b/bat/.config/profile/env.d/bat.env @@ -1,4 +1,5 @@ #shellcheck disable=SC2034 -BAT_THEME=zenburn +BAT_PAGER=never BAT_STYLE=plain +BAT_THEME=zenburn MANPAGER="sh -c 'col -bx | bat -l man -p'" diff --git a/bat/.config/profile/profile.d/bat.sh b/bat/.config/profile/profile.d/bat.sh deleted file mode 100644 index f15c739..0000000 --- a/bat/.config/profile/profile.d/bat.sh +++ /dev/null @@ -1,3 +0,0 @@ -batdiff () { - git diff --name-only --diff-filter=d | xargs bat --diff -}