mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
14 lines
555 B
Cheetah
14 lines
555 B
Cheetah
#!/bin/sh
|
|||
|
|
# Post-apply housekeeping. Re-runs when this file's rendered content changes.
|
||
|
|
set -eu
|
||
|
|
|
||
|
|
# tmux plugin manager — tmux.conf expects tpm at this path
|
||
|
|
if command -v tmux >/dev/null 2>&1 && [ ! -d "$HOME/.config/tmux/plugins/tpm" ]; then
|
||
|
|
git clone --depth=1 https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" || true
|
||
|
|
fi
|
||
|
|
|
||
|
|
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 -}}
|