I want to run two commands at the same time in Git Bash
.
- webpack -w
- node server.js
So i want to split my terminal into two or multiple tabs.
How to split the terminal into multiple views ?
I want to run two commands at the same time in Git Bash
.
So i want to split my terminal into two or multiple tabs.
How to split the terminal into multiple views ?
Your requirements are:
git bash
You can archive this the following way.
Visual Studio Code
git bash
.
"terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"Terminal
> new Terminal
in VS Code top navigation bar.Git Bash, won't allow users to split the screen in to two as the features don't exist. The only way is to use alternative or use ConEmu to configure, my personal preference would be Cmder (console emulator) and other options would be Moba Xterm. Cmder is open source and completely free. This would be much easier than configuring ConEmu.
To duplicate a GIT bash in windows press Alt + F2.
This opens a new terminal in the same path as the previous.
You can achieve this in Windows Terminal
:
https://learn.microsoft.com/en-us/windows/terminal
Windows Terminal Preview
can be configured to save your panes layout on close:
https://www.microsoft.com/en-au/p/windows-terminal-preview/9n8g5rfz9xk3
See this post for how to add a Git Bash
profile automatically:
https://stackoverflow.com/a/69093260
Other features include:
Git Bash
profile and Defaults
Launch two instances of GIT Bash and press win + → to automatically divide the screen into two halves and select desired programs.