Open new tab with same current working directory as an other one #12438

Closed
opened 2026-01-31 03:15:38 +00:00 by claunia · 2 comments
Owner

Originally created by @s-celles on GitHub (Feb 6, 2021).

Description of the new feature/enhancement

Currently when opening a new tab, current working directory is C:\Users\MyUser.

After changing current working directory, it could be very convenient to be able to open a new tab with the same current directory.

My use case is that I often need one tab for running julia file.py and see output, an other tab with a Julia REPL opened in the same directory... but I think the problem of having 2 or more tabs opened with same directory is a quite common practice.

Proposed technical implementation details (optional)

Right click on a tab could have a "New" contextual menu (between rename tab and close) which could show same entries as those in the "+" tab.

The main difference would be that a new tab will be created with the "context" of a tab which was opened previously (context being here the current working directory)

Originally created by @s-celles on GitHub (Feb 6, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> Currently when opening a new tab, current working directory is `C:\Users\MyUser`. After changing current working directory, it could be very convenient to be able to open a new tab with the same current directory. My use case is that I often need one tab for running `julia file.py` and see output, an other tab with a Julia REPL opened in the same directory... but I think the problem of having 2 or more tabs opened with same directory is a quite common practice. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> Right click on a tab could have a "New" contextual menu (between rename tab and close) which could show same entries as those in the "+" tab. The main difference would be that a new tab will be created with the "context" of a tab which was opened previously (context being here the current working directory)
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 03:15:38 +00:00
Author
Owner

@KalleOlaviNiemitalo commented on GitHub (Feb 6, 2021):

https://github.com/microsoft/terminal/issues/3158 would cover most of this, but the proposed UI is different.

@KalleOlaviNiemitalo commented on GitHub (Feb 6, 2021): <https://github.com/microsoft/terminal/issues/3158> would cover most of this, but the proposed UI is different.
Author
Owner

@s-celles commented on GitHub (Feb 6, 2021):

Ok so closing as duplicate of #3158

@s-celles commented on GitHub (Feb 6, 2021): Ok so closing as duplicate of #3158
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12438