-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Add an option to disable globbing on Linux #17176
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
git checkout master -- *on Windows, but I have to quote the*on Linux. It was really scary when I once ranyarn up **on Linux...)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, likermandlsand the likes.)git), or switch to PowerShell if it doesn't.)Proposed technical implementation details (optional)
Add 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 for example).