Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Completions are rewriting arguments altogether #10904

Copy link
Copy link

Description

@mqudsi
Issue body actions

I think this regression was probably introduced with the commit that tried to make it easier to append to completions (e.g. multiple comma-separated arguments)

> function foo; end
> complete -c foo -s s -l long -xa "hello-world goodbye-friend"
> complete -C"foo -s frien"
goodbye-friend # ok
> complete -C"foo -shell"
-shello-world # good
> complete -C"foo -sfrie"
goodbye-friend # bad
> complete -C"foo --long hel"
hello-world # ok
> complete -C"foo --long fr"
goodbye-friend # ok
> complete -C"foo --long=hell"
--long=hello-world # good
> complete -C"foo --long=frien"
goodbye-friend # bad
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.