-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Tab completion should not replace ~ or variables #5350
Copy link
Copy link
Open
Labels
In-PRIndicates that a PR is out for the issueIndicates that a PR is out for the issueIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeWG-Interactive-IntelliSensetab completiontab completion
Milestone
Metadata
Metadata
Assignees
Labels
In-PRIndicates that a PR is out for the issueIndicates that a PR is out for the issueIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeWG-Interactive-IntelliSensetab completiontab completion
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:SystemRootisn'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.