carapace: Alias cat to bat

For some reason the regular 'cat' completion does not work, perhaps
because it is regularly aliased to 'bat' on my systems. This manually
fixes it with a spec alias for carapace
(https://carapace-sh.github.io/carapace-bin/spec/run.html#alias)

Should find a better implementation over time but for now this is a
simple workaround. I do _not_ know how it interacts with systems when no
'bat' command is found.
This commit is contained in:
Marty Oehme 2025-09-30 09:31:22 +02:00
parent c3e2720b3c
commit 7fa4b06eea
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -0,0 +1,3 @@
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: cat
run: "[bat]"