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.
3 lines
96 B
YAML
3 lines
96 B
YAML
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
|
|
name: cat
|
|
run: "[bat]"
|