Remove .config/bat/rebuild-cache.fish
Add .config/bat/rebuild-cache.fish
This commit is contained in:
parent
551c1f0ef1
commit
2e5803e08d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
||||||
#!/usr/bin/env fish
|
|
||||||
|
|
||||||
bat cache --build
|
|
7
dot_config/bat/run_rebuild-cache.fish.tmpl
Normal file
7
dot_config/bat/run_rebuild-cache.fish.tmpl
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
{{ if lookPath "bat" -}}
|
||||||
|
bat cache --build
|
||||||
|
{{ else if lookPath "batcat" -}}
|
||||||
|
batcat cache --build
|
||||||
|
{{ end -}}
|
Loading…
Reference in a new issue