terminal tool colours

This commit is contained in:
2026-02-24 20:00:53 +00:00
parent e8165041d9
commit faad821c77
7 changed files with 139 additions and 33 deletions

29
install.d/26-bat.sh Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install bat and build theme cache from dotfiles.
#
if ! command -v bat &> /dev/null; then
case "$DOTS_PKG" in
brew)
brew install bat
;;
apt)
sudo apt-get install -qq bat
;;
pacman)
sudo pacman -S --noconfirm bat
;;
*)
log_warn "Skipping bat install: no supported package manager found"
return 0
;;
esac
fi
bat --version | log_quote
bat cache --build --quiet
log_pass "bat theme cache built"