-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.
Description
Windows Terminal version
1.23.20211.0
Windows build number
10.0.26200.0
Other Software
PowerShell 5.1.26100.7462
settings.json profile:
{
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoLogo",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "PowerShell"
}Steps to reproduce
- Set PowerShell as the default profile in Terminal.
- Create a directory with at least one opening square bracket, e.g.
[ Example ]or[ Test. - Click the
Open in Terminalcontext menu item inside the aforementioned directory.
Expected Behavior
Terminal should open to the current File Explorer directory.
Actual Behavior
[ Example ]: Terminal opens in PowerShell's default directory, i.e. C:\Windows\System32\WindowsPowerShell\v1.0.
[ Test: Terminal opens to the root directory, i.e. C:\.
This issue does not occur with Command Prompt.
It also does not occur with curly brackets or if there is only a closing square bracket.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.