New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Powershell does not expand '~' for external programs #20031
Comments
Could not be reproduced on either Windows (with the forward-slash path separator) or Linux. For testing used micro editor on both platforms.
|
Did you type I even tested them (string, non-string, forward-slash, backslash) with an empty |
I downloaded pwsh from Microsoft Store. Is it possible that the bug only appears in the store version? |
Just tried in other editor (internal Far manager's editor |
@xudyang1, you pointed to the relevant issues, but the behavior isn't broken; rather, on Windows
However, the ship hasn't fully sailed yet, given @SteveL-MSFT's comment here:
For now:
Note that the scope of #12386 was larger than just If done robustly - and fully doing so is ultimately impossible - PowerShell on Unix would benefit from this conversion too. It's also worth noting that the never-introduced implementation in #12386 handled
|
Thanks for the very detailed information! The |
The Engine WG reviewed this issue today. As @mklement0 notes above, the original |
Prerequisites
Steps to reproduce
.bashrc
file in current directory in neovim/vscodeExpected behavior
`~` should be expanded to `$HOME`
Actual behavior
pwsh does not expand `~` for external command
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: