Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
corbob opened this issue Mar 30, 2022 · 0 comments
Open

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

corbob opened this issue Mar 30, 2022 · 0 comments
Labels

Comments

@corbob
Copy link
Contributor

corbob commented Mar 30, 2022

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.

@ghost ghost added the Needs: Triage Maintainer attention needed! label Mar 30, 2022
@SydneyhSmith SydneyhSmith added Issue-Bug A bug to squash. Area-psEditor and removed Needs: Triage Maintainer attention needed! labels Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants