Title: Open-EditorFile doesn't work with hidden files · Issue #1750 · PowerShell/PowerShellEditorServices · GitHub
Open Graph Title: Open-EditorFile doesn't work with hidden files · Issue #1750 · PowerShell/PowerShellEditorServices
X Title: Open-EditorFile doesn't work with hidden files · Issue #1750 · PowerShell/PowerShellEditorServices
Description: 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. Initially I ...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/PowerShell/PowerShellEditorServices/issues/1750
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Open-EditorFile doesn't work with hidden files","articleBody":"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.\r\n\r\n\r\n\r\nInitially 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`.","author":{"url":"https://github.com/corbob","@type":"Person","name":"corbob"},"datePublished":"2022-03-30T21:49:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1750/PowerShellEditorServices/issues/1750"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:beecde3d-4251-9951-56b7-c38e420db575 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE16:CFEE9:968044:CB0465:6A57DF49 |
| html-safe-nonce | 5d0e6f52ec2a55b81301ba0a48f5fbb3e97bf5df1a084a212f5b1934143885c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTE2OkNGRUU5Ojk2ODA0NDpDQjA0NjU6NkE1N0RGNDkiLCJ2aXNpdG9yX2lkIjoiODIzNzAzNjYzODgxMzI4MjEyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 81c891f46717939c72da7def12e9398188b7e236d966538b13d577f0faa5d7e2 |
| hovercard-subject-tag | issue:1187029572 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShellEditorServices/1750/issue_layout |
| twitter:image | https://opengraph.githubassets.com/034bd7f2f01a3acea681f10fa90d8b3f5cf8e2b4cec2e12dfe4cc05d8df4e31e/PowerShell/PowerShellEditorServices/issues/1750 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/034bd7f2f01a3acea681f10fa90d8b3f5cf8e2b4cec2e12dfe4cc05d8df4e31e/PowerShell/PowerShellEditorServices/issues/1750 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | corbob |
| hostname | github.com |
| expected-hostname | github.com |
| None | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShellEditorServices git https://github.com/PowerShell/PowerShellEditorServices.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 36031537 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShellEditorServices |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36031537 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShellEditorServices |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 36b9c371e4e031091f1b89adf913d9e6993943df |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width