Title: Add an option to disable globbing on Linux · Issue #17176 · PowerShell/PowerShell · GitHub
Open Graph Title: Add an option to disable globbing on Linux · Issue #17176 · PowerShell/PowerShell
X Title: Add an option to disable globbing on Linux · Issue #17176 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement PowerShell now expands the globs when using native commands on Linux. This is very inconvenient to me for a few reasons: I use PowerShell on both Linux and Windows, and I have to always be cautiou...
Open Graph Description: Summary of the new feature / enhancement PowerShell now expands the globs when using native commands on Linux. This is very inconvenient to me for a few reasons: I use PowerShell on both Linux and ...
X Description: Summary of the new feature / enhancement PowerShell now expands the globs when using native commands on Linux. This is very inconvenient to me for a few reasons: I use PowerShell on both Linux and ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add an option to disable globbing on Linux","articleBody":"### Summary of the new feature / enhancement\n\nPowerShell now expands the globs when using native commands on Linux. This is very inconvenient to me for a few reasons:\r\n\r\n- I use PowerShell on both Linux and Windows, and I have to always be cautious so that I don't make mistakes. (I can use `git checkout master -- *` on Windows, but I have to quote the `*` on Linux. It was really scary when I once ran `yarn up **` on Linux...)\r\n- When working with `bash`, I know that it will always expand the globs I use. When working with PowerShell on Windows, I know that it will never do that. But on Linux, it has an inconsistent behavior that I have to think about before running commands. (This gets worse when the same command can mean different things on Windows and Linux, like `rm` and `ls` and the likes.)\r\n- PowerShell glob expansion still needs work (#15959 and #13098 for example), and I don't want to get caught in the middle of my work.\r\n- I don't like glob expansion in bash anyways. It is a somewhat scary feature to me. (I almost always quote my wildcards in bash, if the command I'm using recognizes them (like `git`), or switch to PowerShell if it doesn't.)\n\n### Proposed technical implementation details (optional)\n\nAdd a configuration to PowerShell to disable glob expansion on Linux, or if such configuration already exists, include a mention to it in the docs ([here](https://docs.microsoft.com/en-us/powershell/scripting/whats-new/unix-support) for example).","author":{"url":"https://github.com/Shayan-To","@type":"Person","name":"Shayan-To"},"datePublished":"2022-04-22T10:00:39Z","url":"https://github.com/PowerShell/PowerShell/issues/17176"}
| 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:c343d73a-8464-95d5-e2ae-59d8307ed798 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB22:3756EB:28B8C83:38BAB2D:6AFD5030 |
| html-safe-nonce | ac8ebf102f188e32e65781bc3f5dffeeb9d09fac83d9fc9015d8a06e4951ee9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjIyOjM3NTZFQjoyOEI4QzgzOjM4QkFCMkQ6NkFGRDUwMzAiLCJ2aXNpdG9yX2lkIjoiODY5NTAxMzg0NjMxOTcxNDM1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 274bfb5191e4c0a062457604537239f2c35b64ba4b5eac17bc920c06c46dc056 |
| hovercard-subject-tag | issue:1212139424 |
| 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/17176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85b2631d44c25461064b4b70c8d607395bf97632699fb4ef8a868cd5582353cd/PowerShell/PowerShell/issues/17176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85b2631d44c25461064b4b70c8d607395bf97632699fb4ef8a868cd5582353cd/PowerShell/PowerShell/issues/17176 |
| og:image:alt | Summary of the new feature / enhancement PowerShell now expands the globs when using native commands on Linux. This is very inconvenient to me for a few reasons: I use PowerShell on both Linux and ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Shayan-To |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width