Title: JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell · Issue #1823 · PowerShell/PowerShell · GitHub
Open Graph Title: JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell · Issue #1823 · PowerShell/PowerShell
X Title: JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell · Issue #1823 · PowerShell/PowerShell
Description: PS /home/ubuntu/.config/PowerShell> $profile |select * AllUsersAllHosts : /opt/microsoft/powershell/6.0.0-alpha.8/profile.ps1 AllUsersCurrentHost : /opt/microsoft/powershell/6.0.0-alpha.8/Microsoft.PowerShell_profile.ps1 CurrentUserAllHo...
Open Graph Description: PS /home/ubuntu/.config/PowerShell> $profile |select * AllUsersAllHosts : /opt/microsoft/powershell/6.0.0-alpha.8/profile.ps1 AllUsersCurrentHost : /opt/microsoft/powershell/6.0.0-alpha.8/Microsoft...
X Description: PS /home/ubuntu/.config/PowerShell> $profile |select * AllUsersAllHosts : /opt/microsoft/powershell/6.0.0-alpha.8/profile.ps1 AllUsersCurrentHost : /opt/microsoft/powershell/6.0.0-alpha.8/Micros...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1823
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell","articleBody":"PS /home/ubuntu/.config/PowerShell> $profile |select *\n\nAllUsersAllHosts : /opt/microsoft/powershell/6.0.0-alpha.8/profile.ps1\nAllUsersCurrentHost : /opt/microsoft/powershell/6.0.0-alpha.8/Microsoft.PowerShell_profile.ps1\nCurrentUserAllHosts : /home/ubuntu/.config/powershell/profile.ps1\nCurrentUserCurrentHost : /home/ubuntu/.config/powershell/Microsoft.PowerShell_profile.ps1\nLength : 64\n\nBecause the PowerShell folder in .config is camel case, you cannot do things like this:\ntouch $profile.currentuserallhost\nor\nvim $profile.currentuserallhost\n\nyou get an error that it can't open the file b/c the dir was never made. Since the home directory appears to be created automatically, this should probably just be fixed in the $profile object\n\n\u003c!--\n\nIf it is a bug report:\n- make sure you are able to repro it on the latest released version. \nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\n- Search the existing issues.\n- Refer to the [FAQ](../docs/FAQ.md).\n- Refer to the [known issues](../docs/KNOWNISSUES.md).\n- Fill out the following repro template\n\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\n-->\n## Steps to reproduce\n## Expected behavior\n## Actual behavior\n## Environment data\n\n\u003c!-- provide the output of $PSVersionTable -->\n\n``` powershell\n> $PSVersionTable\n\n```\n","author":{"url":"https://github.com/toenuff","@type":"Person","name":"toenuff"},"datePublished":"2016-08-15T22:28:40Z","url":"https://github.com/PowerShell/PowerShell/issues/1823"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3e78e4b1-2a6d-e64f-345b-ee9f8e75e0f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F08:1DAE0F:6EFB5:9A098:6AFD7A9E |
| html-safe-nonce | 78a5db9e572a9ada7e45afb0ed83becd8ab422fa2cd0c4cd79f54929bea34785 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjA4OjFEQUUwRjo2RUZCNTo5QTA5ODo2QUZEN0E5RSIsInZpc2l0b3JfaWQiOiI0MDUzNTQxNTg5NzQ0NDUwMjA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 85f3efd9af00f81211803c5ac73977fb30e3d669907075205b56e206c88618f8 |
| hovercard-subject-tag | issue:171276975 |
| 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/PowerShell/1823/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b0bbc8b82c0260a0bee2ec12ff6148942b11c4479c2a56da619ffae7a3e16fc/PowerShell/PowerShell/issues/1823 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b0bbc8b82c0260a0bee2ec12ff6148942b11c4479c2a56da619ffae7a3e16fc/PowerShell/PowerShell/issues/1823 |
| og:image:alt | PS /home/ubuntu/.config/PowerShell> $profile |select * AllUsersAllHosts : /opt/microsoft/powershell/6.0.0-alpha.8/profile.ps1 AllUsersCurrentHost : /opt/microsoft/powershell/6.0.0-alpha.8/Microsoft... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | toenuff |
| hostname | github.com |
| expected-hostname | github.com |
| None | 544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width