microsoft/Terminal

"Open in Terminal" menu option should open in PowerShell or Ubuntu depending on folder location

Open

#14,753 创建于 2023年1月28日

在 GitHub 查看
 (7 评论) (2 反应) (0 负责人)C++ (3,212 fork)batch import
Area-ShellExtensionHelp WantedIssue-FeatureProduct-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

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.

image

Proposed technical implementation details (optional)

贡献者指南