carapace-sh/carapace

bash: file completion with spaces broken

rsteube opened this issue · 0 comments

Current Behavior

On Debian with Bash 5.2.15 completion with space seems to be broken:

I was doing mv ~Download/some file with spaces.txt .
I would type mv ~/Download/some<TAB> and it would expand to: mv "~/Download/some\\\ file\\\ with\\\ spaces.txt"

Expected Behavior

Whereas it should have expanded to mv "~/Download/some\ file\ with\ spaces.txt"

Steps To Reproduce

No response

Version

0.44.1

OS

  • Linux
  • OSX
  • Windows

Shell

  • Bash
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?