Skip to content

COMPLETING argument menu shown even when only one completion on paths that start ~/ #1826

Description

@tesujimath

What happened, and what did you expect to happen?

I typed a path prefix and hit TAB. There is only one completion, and it did complete on the command line, but it left the COPMPLETING argument menu up with a single entry.

Rather than simply continue typing the path, I had to hit ENTER to accept the menu. This seems non-ergonomic to me, as what else could I want, except the single matching path?

it23677> cd ~/vc/agr-d
<TAB>

it23677> cd /home/guestsi/vc/agr-devops/
 COMPLETING argument
/home/guestsi/vc/agr-devops/

I expected not to have a menu to dismiss.

Output of "elvish -version"

0.20.1

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    ❓Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions