Skip to content

Incorrect tab-completion escaping with certain characters #5831

@zx8

Description

@zx8
$ fish --version
fish, version 3.0.2-948-g4ddfd730

Repro:

$ touch foo foo[bar]
$ ls foo[<TAB>
$ ls foo[bar\]

This should have completed to either foo[bar] or foo\[bar\], but not foo[bar\]:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions