microsoft/Terminal

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

Open

#14 753 ouverte le 28 janv. 2023

Voir sur GitHub
 (7 commentaires) (2 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-ShellExtensionHelp WantedIssue-FeatureProduct-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

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.

image

Proposed technical implementation details (optional)

Guide contributeur