Skip to content

Open-EditorFile doesn't work with hidden files #1750

Open
@corbob

Description

@corbob

On MacOS (and I imagine Linux) dot files are hidden, and as such, are not displayed by Get-ChildItem which Open-EditorFile uses to get the file(s) to open. This makes using psedit as a shortcut to open such files impossible.

image

Initially I was going to suggest simply adding -Force to the Get-ChildItem, but the unintended consequence of that is that it will then open all the hidden files in a directory when given the directory. An alternative may be to include -Force on Open-EditorFile and pass that through to Get-ChildItem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions