Skip to content

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

Closed

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.

Activity

  1. ghost added
    Needs: Triage
    on Mar 30, 2022
  2. added
    Issue-Bug
    and removed
    Needs: Triage
    on Apr 26, 2022
  3. added a commit that references this issue on Jun 18, 2026
    b57653c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-psEditorIssue-Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions