From 739ef9148f36f74e098e1671ee4fb066221620c1 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Sat, 30 Aug 2025 11:45:56 +0200 Subject: [PATCH] Add configuration for `bat` --- .config/bat/config | 7 +++++++ .config/shell/env | 1 + 2 files changed, 8 insertions(+) create mode 100644 .config/bat/config diff --git a/.config/bat/config b/.config/bat/config new file mode 100644 index 0000000..5236fce --- /dev/null +++ b/.config/bat/config @@ -0,0 +1,7 @@ +--theme="TwoDark" + +--style="numbers,changes,header" + +--map-syntax ".bash_history:Bourne Again Shell (bash)" +--map-syntax ".flake8:INI" +--map-syntax "poetry.lock:TOML" diff --git a/.config/shell/env b/.config/shell/env index c25d2b8..f064294 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -27,5 +27,6 @@ export VISUAL=$EDITOR # Move common tools' config and cache files into XDG directories +export BAT_CONFIG_PATH="$XDG_CONFIG_HOME/bat/config" export LESSHISTFILE="$XDG_STATE_HOME/less/history" export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"