Skip to content

complete --condition given multiple times should complicate predicate #8536

@floam

Description

@floam

So, it seems like currently this is basically strange undefined behavior:

$ complete foo -n false -n true -x -a bar
$ complete -C'foo '
bar
$ complete --erase foo
$ complete foo -n true -n false -x -a bar
$ complete -C'foo '
<file completions>

I propose this should have been equivalent to: complete foo -n "false; and true" ….

Metadata

Metadata

Assignees

No one assigned

    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