mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
7 lines
300 B
Cheetah
7 lines
300 B
Cheetah
#!/bin/sh
|
|||
|
|
# Rebuild bat's syntax/theme cache when managed inputs change.
|
||
|
|
# themes hash: {{ include "dot_config/bat/themes/cyberdream.tmTheme" | sha256sum }}
|
||
|
|
# config hash: {{ include "dot_config/bat/config" | sha256sum }}
|
||
|
|
set -eu
|
||
|
|
command -v bat >/dev/null 2>&1 || exit 0
|
||
|
|
bat cache --build >/dev/null
|