Bridges
With ~/.config/carapace/bridges.yaml
generic bridges can be configured for commands.
gh: cobra
opentofu: complete
tsh: kingpin
bridges.yaml
is a simpler alternative to Spec/Bridge. It has a higher precedence than CARAPACES_BRIDGES but lower than internal completers and specs. So disable an internal completer with CARAPACES_EXCLUDES if you want to replace it with a bridge.
Currently available bridges:
- argcomplete
- bash
- carapace
- clap (needs clap-rs/clap#3166)
- click
- cobra
- complete
- fish
- inshellisense
- kingpin
- powershell
- urfavecli
- yargs
- zsh
Bridging frameworks should be preferred to shells (e.g. zsh) as these generally work better and have less overhead.
Cache
The list of completers is cached to not impact shell startup time.
Clear the cache with carapace --clear-cache
if your system changes.