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:
parent
c3e2720b3c
commit
7fa4b06eea
1 changed files with 3 additions and 0 deletions
3
sh/.config/carapace/specs/cat.yaml
Normal file
3
sh/.config/carapace/specs/cat.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
|
||||
name: cat
|
||||
run: "[bat]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue