From 88cd731ad8eb19b4e69fb84f0a2257543c3ccdbe Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 23 Nov 2023 17:17:49 +0100 Subject: [PATCH] Sync bat config --- Makefile | 5 +++++ arch_wsl.sh | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 05f215a..fcfe4b1 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,11 @@ sync-dotconfig: @echo "Micro settings synced!" @echo +# Bat + @$(WGET) $(REPO_SRC)/.config/bat/config -O $(HOME)/.config/bat/config + @echo "Bat settings synced!" + @echo + # Topgrade @$(WGET) $(REPO_SRC)/.config/topgrade/topgrade.toml -O $(HOME)/.config/topgrade.toml @echo "Topgrade settings synced!" diff --git a/arch_wsl.sh b/arch_wsl.sh index ef7ab1f..b22e71f 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -160,6 +160,10 @@ main() { fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\"" fish -c "set -Ux MANROFFOPT \"-c\"" + # === Bat config == + mkdir -p "$HOME"/.config/bat + wget -q --show-progress ${repo}/.config/bat/config -O "$HOME"/.config/bat/config + # === Git == wget -q ${repo}/dotfiles/.gitconfig -O "$HOME"/.gitconfig