When I start my workday, I prefer my development environment to be ready immediately π
Switching shells or manually arranging panes is a small but repeated cost.
This article describes a simple and consistent setup using Windows Terminal and Git Bash, configured to open five panes automatically on startup.
Why I Use Git Bash as the Default Shell π€
Windows Terminal supports multiple shells, including PowerShell and WSL.
While these tools are powerful, I prefer Git Bash for most daily development tasks.
My reasons are straightforward:
- Familiar Linux-style commands
- Minimal configuration
- No context switching between environments
For consistency, I decided to use Git Bash as the default shell across all panes.
Step 1: Install Required Applications π οΈ
First, install the necessary tools.
Windows Terminal
winget install Microsoft.WindowsTerminal
Git Bash (Git for Windows)
winget install Git.Git
After installing Git, restarting the terminal once helps avoid potential PATH-related issues π
Step 2: Register Git Bash as a Windows Terminal Profile βοΈ
Next, Git Bash is added as a custom profile.
- Open Windows Terminal
- Press
Ctrl + ,to open Settings - Select Add a new profile β Empty profile
- Configure the profile as follows:
Name: Git Bash
Command line:
C:\Program Files\Git\bin\bash.exe --login -i
- Open Startup
- Set Default profile to
Git Bash - Save the settings
This ensures that Windows Terminal always launches Git Bash by default.
Step 3: Create a Shortcut for a Five-Pane Layout π§©
To reduce manual setup, I use a desktop shortcut that opens Windows Terminal with a predefined pane layout.
This shortcut:
- Launches Windows Terminal
- Uses Git Bash in all panes
- Splits the window into five panes
- Starts in a specified directory
Replace your-username with your Windows user name.
wt -p "Git Bash" -d "C:\Users\your-username\Desktop" ; \
split-pane -V -p "Git Bash" -d "C:\Users\your-username\Desktop" ; \
move-focus Left ; \
split-pane -H -p "Git Bash" -d "C:\Users\your-username\Desktop" ; \
move-focus Right ; \
split-pane -H -p "Git Bash" -d "C:\Users\your-username\Desktop" ; \
split-pane -H -p "Git Bash" -d "C:\Users\your-username\Desktop"
Name the shortcut something simple, such as Dev Terminal.
Step 4: Enable Automatic Launch on Windows Startup π
To ensure the environment is always ready, I register the shortcut in the Windows startup folder.
- Press
Win + R - Enter
shell:startup - Paste the shortcut into the folder
With this configuration, the terminal opens automatically when Windows starts.

Top comments (0)