How to disable tilde (~) expansion? #25483
Replies: 2 comments 1 reply
|
There is PSNativeWindowsTildeExpansion experimental feature. |
|
What is happening (PowerShell 7.5+ on Windows): since 7.5-preview.3, tab completion expands a leading There is no preference variable to switch the completion-time expansion off. Your options:
Notes: Windows PowerShell 5.1 has none of this completion expansion, so behavior differs by edition. If you share your |
Uh oh!
There was an error while loading. Please reload this page.
Current
~is automatically converted to$HOMEupon Tab autocompletion.I want to disable this feature because it ruins command history. Is there any way to this?
All reactions