-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Allow users to create a 'collection' of tabs that will open specified command lines with different starting directories. #6851
Comments
You technically can do this now using combination of profiles with the commandline parameter set and using the wt argument parser (to get your tabs and/or panes). You could also just script it out purely using the argument parser (so you don't need to enter it every time you close Terminal). |
Perhaps when the Settings UI is created, this could be an enhancement to remove the need to script it out yourself and configure it in the Settings UI instead (possibly as an extension). |
Thanks for the response. I figured there was a way to script it. I was hoping to be able to do it through the UI. |
They're still going over the spec #6720. Once that's been flushed out, they'll begin implementing it. I'm sure they'd appreciate any feedback regarding this feature request. |
As @WSLUser points out, you can use the {
"name": "Good Morning",
"commandline": "cmd.exe /k wt cmd.exe /k #work 15 ; split-pane cmd.exe /k #work 15 ; split-pane -H cmd.exe /k media-commandline ; new-tab powershell dev\\symbols.ps1 ; new-tab -p \"Ubuntu 18.04\" ; new-tab -p \"microsoft/Terminal\" ; focus-tab -t 0",
} which opens up 4 tabs, and the first has 3 panes, for my initial dev environment. This unfortunately opens it in a new window currently, but it works for me. We've got lots of plans on how to improve this:
edit: you know what, I'm just gonna close this thread as a duplicate of the combined sum of all the other threads listed, since they seem to cover this scenario pretty well. |
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! |
Description of the new feature/enhancement
I often need to open the same 4+ tabs with different starting directories. It would be nice to have a feature similar to the 'collections' in MS Edge that will open several tabs to a specific command line and starting directory.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: