Add configuration for bat

This commit is contained in:
Alexander Hess 2025-08-30 11:45:56 +02:00
parent 52914804a5
commit 739ef9148f
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
2 changed files with 8 additions and 0 deletions

7
.config/bat/config Normal file
View file

@ -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"

View file

@ -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"