antoyo · GitHub

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.

Read the original on github.com ↗