Remove .config/bat/rebuild-cache.fish

Add .config/bat/rebuild-cache.fish
This commit is contained in:
punkfairie 2024-04-21 11:23:20 -07:00
parent 551c1f0ef1
commit 2e5803e08d
No known key found for this signature in database
GPG key ID: 284B78B49C058673
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +0,0 @@
#!/usr/bin/env fish
bat cache --build

View file

@ -0,0 +1,7 @@
#!/usr/bin/env fish
{{ if lookPath "bat" -}}
bat cache --build
{{ else if lookPath "batcat" -}}
batcat cache --build
{{ end -}}