microsoft / microsoft/terminal
"Open in Terminal" menu option should open in PowerShell or Ubuntu depending on folder location
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
# Description of the new feature/enhancement
Not sure if this is an enhancement versus an actual bug, but if have my default WSL distro be Ubuntu, and I click "Open in Terminal" in a Windows folder, I expect it to open up the *PowerShell* terminal, not the Ubuntu one. Vice versa if I have the default terminal as PowerShell and I click "Open in Terminal" in an Ubuntu folder, like in the below folders.
In other words, Terminal should know the context in which I'd want each terminal to open up.

# Proposed technical implementation details (optional)
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the implementation of the “Open in Terminal” context-menu action and the logic that identifies Windows versus Ubuntu/WSL folders; done means choosing PowerShell for Windows folders and Ubuntu for Ubuntu folders regardless of the configured default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell, ubuntu
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100