Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening new Terminal in same directory as current terminal #10614

Closed
ShivKJ opened this issue Jul 11, 2021 · 2 comments
Closed

Opening new Terminal in same directory as current terminal #10614

ShivKJ opened this issue Jul 11, 2021 · 2 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ShivKJ
Copy link

ShivKJ commented Jul 11, 2021

Hi,

I am currently using Windows Terminal and have added Ubuntu 20.04 in it.

Now suppose I have opened a Ubuntu terminal and want to open a new tab in the terminal such that the current dir on the created tab is the same as that of the current tab.

Let me know how can we do that?

Have tried setting startingDirectory value (in settings.py) to null, "." etc. but nothing works.

@ShivKJ ShivKJ added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 11, 2021
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 11, 2021
@LuanVSO
Copy link
Contributor

LuanVSO commented Jul 11, 2021

there's a lot of guides on how to do it on #3158.
put this on a file and then source it from .bashrc or .zshrc:
https://gist.github.com/LuanVSO/5fa3a7f0df339d8dc5166865df18527f
after that restart your shell and if you press ctrl+shift+D to duplicate the tab it will keep the same directory.

@skyline75489
Copy link
Collaborator

See #10105 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants