microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
93.92k stars 8.12k forks source link

The default working directory of new tabs should match the previous tab #17285

Closed Ravbug closed 2 weeks ago

Ravbug commented 2 weeks ago

Description of the new feature/enhancement

The built-in Terminal app on macOS (and on some Linux distros) automatically cd's into the working directory of the previously active tab upon creation of the tab. Windows Terminal does not do this, instead defaulting to a preset location for each terminal type, and it gets annoying manually fixing the working directory every time a new tab is created.

I think the new tab behavior of Windows Terminal should match that of the macOS built-in Terminal, if the type of the new tab (CMD vs PowerShell vs Developer Powershell vs WSL) matches that of the previously active tab.

github-actions[bot] commented 2 weeks ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.