gum icon indicating copy to clipboard operation
gum copied to clipboard

fish completions break tab-completion of files/folders

Open beaumccartney opened this issue 9 months ago • 0 comments

Describe the bug Sourcing the completion script in fish allows me to tab-complete gum subcommands but then I can't complete files or directories after.

To Reproduce Steps to reproduce the behavior:

  1. install gum
  2. start fish and source gum completions
  3. mkdir mydir && touch mydir/foo && touch mydir/bar
  4. gum choose my<TAB>
  5. mydir won't complete

Expected behavior Tab completes mydir. Tried this in zsh and it works fine

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 14.4.1

Additional context I've observed this behaviour also with freeze and glow. I've tried installing from homebrew and go installing and reproduced the behaviour in both cases.

beaumccartney avatar Apr 30 '24 14:04 beaumccartney