dotfiles/sh/.config/carapace/specs/cat.yaml
Marty Oehme 7fa4b06eea
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.
2025-09-30 14:35:50 +02:00

3 lines
96 B
YAML

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