-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Handle ~ in PATH #11531
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 bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Milestone
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 bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.
Steps to reproduce
myExe) at the following path:~/foo/Try to tab complete your executable or just run
myExeExpected behavior
The executable
myExeis run.This works just fine in bash and zsh and things like .NET global tools rely on the
~support in the PATH so we should really fix this.caveat
Bash seems to do more - it can handle variables inside of the PATH but that seems like overkill and I can't think of any example that uses that "feature".
We handle tilda pretty much everywhere else, we should be able to support it in application resolution.
Actual behavior
Environment data