Skip to content

Tab complete on a command with dash suggests a function that has a dash in the name #10677

@SteveL-MSFT

Description

@SteveL-MSFT

Steps to reproduce

function a-b {}
foo -<tab>

Expected behavior

Nothing since `foo` doesn't exist

Actual behavior

foo a-b

Regression from WinPS5.1. Repros in 6.2 and 7 Preview4.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions