Split tab uses wrong path for new session #18321

Closed
opened 2026-01-31 06:10:21 +00:00 by claunia · 2 comments
Owner

Originally created by @QuAzI on GitHub (Aug 27, 2022).

Windows Terminal version

1.14.2281.0

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

Start wt in some place.
Start new wt tab in other place. Split new tab.

image

Expected Behavior

Splited tab have same paths on both sides.

Actual Behavior

New session have same path as when first instance of wt started

Originally created by @QuAzI on GitHub (Aug 27, 2022). ### Windows Terminal version 1.14.2281.0 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce Start wt in some place. Start new wt tab in other place. Split new tab. ![image](https://user-images.githubusercontent.com/1897605/187018799-68e3ca60-01a5-4778-81f7-f7bf513f3e92.png) ### Expected Behavior Splited tab have same paths on both sides. ### Actual Behavior New session have same path as when first instance of wt started
Author
Owner

@zadjii-msft commented on GitHub (Aug 29, 2022):

Did you configure the shell to tell the Terminal about the CWD/? (this is ultimately the same root cause as #13862)

@zadjii-msft commented on GitHub (Aug 29, 2022): Did you [configure the shell to tell the Terminal about the CWD](https://docs.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory)/? (this is ultimately the same root cause as #13862)
Author
Owner

@ghost commented on GitHub (Sep 2, 2022):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Sep 2, 2022): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18321