zsh: Remove carapace

It was a nice experiment but carapace and fzf-tab simply do not work
together currently.

The main issue is double-backlashes whenever a file with spaces it
selected. This is a _huge_ issue since it simply does not allow
completing _any_ file with spaces and is extremely tedious.

Issue tracked here:

https://github.com/carapace-sh/carapace-bin/issues/2667
https://github.com/Aloxaf/fzf-tab/issues/503

There are smaller issues like `cd folder/` completion adding a space
after the word so you cannot complete further 'into' the directory, and
some other small problems.

All of that only even works with a 'empty query string' hack to get the
two working together in the first place:

https://github.com/carapace-sh/carapace-bin/issues/2819#issuecomment-3092307945%3E

Ultimately it just seems not worth it to me.
This commit is contained in:
Marty Oehme 2025-12-12 09:29:18 +01:00
parent 93a8adb02b
commit 4e06f2e23b
Signed by: Marty
GPG key ID: 4E535BC19C61886E
5 changed files with 0 additions and 35 deletions

View file

@ -140,11 +140,6 @@ TRANSIENT_PROMPT_RPROMPT='$(starship prompt --right --terminal-width="$COLUMNS"
TRANSIENT_PROMPT_TRANSIENT_PROMPT='$(starship module character)'
eval "$(zoxide init zsh)"
eval "$(atuin init zsh)"
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
source <(carapace _carapace)
# make fzf-tab compatible with carapace
# see <https://github.com/carapace-sh/carapace-bin/issues/2819#issuecomment-3092307945>
zstyle ':fzf-tab:*' query-string ''
# Speed up autocomplete, force prefix mapping
zstyle ':completion:*' accept-exact '*(N)'