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

@ -39,8 +39,6 @@ starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.n
atuin init nu | save -f ($nu.data-dir | path join "vendor/autoload/atuin.nu")
# load zoxide bookmarks
zoxide init nushell | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu")
# load carapace completions
source ~/.cache/carapace/init.nu
# keybinds
$env.config.keybindings = [

View file

@ -1,23 +0,0 @@
# env.nu
#
# Installed by:
# version = "0.102.0"
#
# Previously, environment variables were typically configured in `env.nu`.
# In general, most configuration can and should be performed in `config.nu`
# or one of the autoload directories.
#
# This file is generated for backwards compatibility for now.
# It is loaded before config.nu and login.nu
#
# See https://www.nushell.sh/book/configuration.html
#
# Also see `help config env` for more options.
#
# You can remove these comments if you want or leave
# them for future reference.
## create carapace completions
$env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense' # optional
mkdir ~/.cache/carapace
carapace _carapace nushell | save --force ~/.cache/carapace/init.nu