Thanks to visit codestin.com
Credit goes to github.com

Skip to content

? in completions and suggestions is matching "any char" #785

@etu

Description

@etu

If I pick my fish shell up, and type: etu@workstation ~ $ ?

The suggestion will suggest: etu@workstation ~ $ ?ython, which seems like it matches python, and I can even tab-complete to get the entire string ?ython.

Also works if I type like etu@workstation ~ $ sh?1 -> etu@workstation ~ $ sh?1sum

It's possible to complete these commands, but not to run them, becouse the command doesn't exist, fish tells me fish: Illegal command name “?ython” for example.

(And, I don't know why the heck anyone would type ? in their prompt while typing a command, but it seems strange that's it's possible to complete a command that doesn't exist)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions