dotfiles/dot_config/bat/run_rebuild-cache.fish.tmpl

8 lines
129 B
Cheetah
Raw Normal View History

#!/usr/bin/env fish
{{ if lookPath "bat" -}}
bat cache --build
{{ else if lookPath "batcat" -}}
batcat cache --build
{{ end -}}