Build cache on first run of `bat`
Author: sergentbneCreated Sep 24, 2026Updated Sep 24, 2026
Labelsfeature-request
On new system, the themes are not found by default. bat has to index them manually by building the cache with bat cache --build
That is annoying, since it is a step that has to be repeated every time I install my dotfiles somewhere.
What I am locking for is behavior akin to tlrc where the cache is built on first run (if files requiring building are present). Preferably, after first run.
thank yall for you time.
Source: sharkdp/bat