Files
dotfiles/.chezmoiscripts/run_onchange_after_40-post.sh.tmpl
T

10 lines
303 B
Cheetah

#!/bin/sh
# Post-apply housekeeping. Re-runs when this file's rendered content changes.
set -eu
if command -v bat >/dev/null 2>&1; then bat cache --build >/dev/null || true; fi
{{ if eq .chezmoi.os "linux" -}}
if command -v fc-cache >/dev/null 2>&1; then fc-cache -f >/dev/null || true; fi
{{ end -}}