terminal: Add carapace completions to all shells

Bash, nushell and zsh all make use of carapace completions by default.
This commit is contained in:
Marty Oehme 2025-09-04 22:59:39 +02:00
parent e44baaf207
commit 4b65069436
Signed by: Marty
GPG key ID: 4E535BC19C61886E
4 changed files with 12 additions and 0 deletions

View file

@ -126,6 +126,8 @@ setopt autocd
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
eval "$(atuin init zsh)"
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
source <(carapace _carapace)
# Speed up autocomplete, force prefix mapping
zstyle ':completion:*' accept-exact '*(N)'