-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Tab completion should not replace ~ or variables #5350
Comments
Can we have a way (Alt-Shift) to replace ~ or variables still? |
A key binding depends on the host - e.g. PSReadLine or PS Editor Services - not something the core engine needs to provide, except perhaps an api to do the replacement. A new api probably isn't worth it, various editors also want to support older versions of PowerShell and this replacement isn't that hard to implement with existing apis. |
This issue seems to have gone stale, thought I'd give it a bump. I run into this on a daily basis and I sort of just live with it even though it irritates me and leads to extraneous key presses! |
yes this is so annoying, especially when working with both bash and pwsh on a regular basis (i notice it every single day) |
Tab completion should not replace ~ or variables.
E.g.
When editing a script, the replacement might actually make the script less portable, e.g.
$env:SystemRoot
isn't always on thec:
drive.On the command line, you normally end up with a longer command line, and possibly less meaningful. It can also be less useful when searching your history.
We could have an option that control this behavior, but I suspect it should be the default.
The text was updated successfully, but these errors were encountered: