8000 Option to force completion to escape instead of using quotes · Issue #11271 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Option to force completion to escape instead of using quotes #11271

@antoyo

Description

@antoyo

Hi.
Since the new release, fish will quote completion with special characters instead of escaping them.
This breaks my workflow because I often use completions to then add a wildcard like * (for instance, to diff two files), but this no longer works because now it is quoted (so the wildcard won't be interpreted).
So, please add an option to always force the completion to escape special characters instead of using quotes.

Also, it seems there might be some incoherent behavior here, for instance:

$ touch '[test] file1'
$ ls <Tab> # completes to: ls '[test] file1'
$ touch '[test] file2'
$ ls <Tab><Tab> # completes to: ls \[test\]\ file1

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that used to work, but was broken, especially between releases

    Type

    No type

    Projects

    No projects
    39E0

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0