Open another window but keep the previous window's process directory #14235

Closed
opened 2026-01-31 04:04:38 +00:00 by claunia · 8 comments
Owner

Originally created by @joutvhu on GitHub (Jun 14, 2021).

Currently, I can open Windows Terminal in a folder through the Context MenuOpen in Windows Terminal, but it only works with default profile.
When I want to open with another profile there is no way to keep the old process directory.

I think we can add a new feature are where holding down a certain key (maybe Ctrl) while opening a new window, then using the previous window's process directory for new window.

image

Thanks 😄

Originally created by @joutvhu on GitHub (Jun 14, 2021). Currently, I can open **Windows Terminal** in a folder through the `Context Menu` → `Open in Windows Terminal`, but it only works with _default profile_. When I want to open with another profile there is no way to keep the old _process directory_. I think we can add a new feature are where holding down a certain key (maybe `Ctrl`) while opening a new window, then using the previous window's _process directory_ for new window. ![image](https://user-images.githubusercontent.com/9401202/121940225-0cd53100-cd78-11eb-8ba7-9bc008181f0b.png) Thanks 😄
Author
Owner

@DHowett commented on GitHub (Jun 14, 2021):

Suspect you could just run wt -d ., but perhaps we should support this.

@DHowett commented on GitHub (Jun 14, 2021): Suspect you could just run `wt -d .`, but perhaps we _should_ support this.
Author
Owner

@zadjii-msft commented on GitHub (Jun 14, 2021):

this is already on the Shell-Extension backlog as "subsequent tabs...." something or other FYI

@zadjii-msft commented on GitHub (Jun 14, 2021): this is already on the Shell-Extension backlog as "subsequent tabs...." something or other FYI
Author
Owner

@joutvhu commented on GitHub (Jun 15, 2021):

Suspect you could just run wt -d ., but perhaps we should support this.

I think it would be more helpful if there was a way to open it quickly. This is as complicated as using cd <directory>

@joutvhu commented on GitHub (Jun 15, 2021): > Suspect you could just run `wt -d .`, but perhaps we _should_ support this. I think it would be more helpful if there was a way to open it quickly. This is as complicated as using `cd <directory>`
Author
Owner

@DHowett commented on GitHub (Jun 17, 2021):

This looks distinct from #8933, so I've tagged it up for the backlog.

@DHowett commented on GitHub (Jun 17, 2021): This looks distinct from #8933, so I've tagged it up for the backlog.
Author
Owner

@zadjii-msft commented on GitHub (Mar 7, 2022):

Ooh this sounds a like like a combo of:

@joutvhu you think any of the above three would fill this gap for you?

@zadjii-msft commented on GitHub (Mar 7, 2022): Ooh this sounds a like like a combo of: * #10232 * #6111 * #4637 @joutvhu you think any of the above three would fill this gap for you?
Author
Owner

@joutvhu commented on GitHub (Mar 11, 2022):

I think the case #6111 seems to be more used.

@joutvhu commented on GitHub (Mar 11, 2022): I think the case #6111 seems to be more used.
Author
Owner

@zadjii-msft commented on GitHub (Mar 11, 2022):

Great! I'm gonna close this out as a dupe then, for janitorial purposes. Thanks!

/dup #6111

@zadjii-msft commented on GitHub (Mar 11, 2022): Great! I'm gonna close this out as a dupe then, for janitorial purposes. Thanks! /dup #6111
Author
Owner

@ghost commented on GitHub (Mar 11, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 11, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14235