Skip to content

Incorrect tab-completion with spaces #2645

@darkpixel

Description

@darkpixel

Summary

From the gopass shell:
edit -c "this is just a test"
Save and go back to the shell

Type: cat this<tab>

You will end up with the command:
cat this is just a test

Expected behavior

It should auto-complete to:
cat "this is just a test
or
cat this\ is\ just\ a\ test

Similar to bash.

Environment

  • OS: Linux Mint 21.1
  • OS version: Linux iridal 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • gopass Version: gopass 1.15.7 go1.20.6 linux amd64
  • Installation method: github release deb package

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions