aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-12-14 20:21:03 +0900
committernsfisis <nsfisis@gmail.com>2022-12-15 22:07:17 +0900
commit3300d60277afb3a99af8e4346909443946e67221 (patch)
treef300bd184163064b9ccf7d5a05604c20afa9f5fb
parent406a4decd846bd15ddd6c126ffac74e9cebc3aff (diff)
downloaddotfiles-3300d60277afb3a99af8e4346909443946e67221.tar.gz
dotfiles-3300d60277afb3a99af8e4346909443946e67221.tar.zst
dotfiles-3300d60277afb3a99af8e4346909443946e67221.zip
bat: rebuild cache on setup
-rwxr-xr-xsetup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 8494a4e..1f40273 100755
--- a/setup.sh
+++ b/setup.sh
@@ -110,6 +110,12 @@ if [ ! -f ~/.config/alacritty/alacritty.local.yml ]; then
fi
fi
+# Bat {{{2
+if type bat >/dev/null 2>&1; then
+ echo "bat: rebuild cache"
+ bat cache --clean && bat cache --build
+fi
+
# Neovim: packer.nvim {{{2
packer_nvim_dir="${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/packer/opt/packer.nvim
if [ ! -d "$packer_nvim_dir" ]; then