Windows terminal
- Install – you can do this through the store, or if you don't have access follow links to get a built copy from the project's releases page on GitHub.
Configure PowerShell
- Bind Ctrl + D
- Add Git prompt support
- Set color schema = “Campbell PowerShell”
Add bash
Thanks, Tim Schaeps!
- Install Git for Windows
- Launch Windows Terminal, open Settings
Add a new profile (in “Profiles” section of sidebar) → + New empty profile. Settings:
- Name = Git Bash
- Command line = full path to
bash.exe(found in thebinfolder of your Git for Windows install – don't usegit-bash.exebecause it will start in a standlone window outside Windows Terminal) - Starting directory = your local repositories root (often
%USERPROFILE%\source\repos) - Icon = your choice. Git & Git for Windows icons are in the
usr\share\gitfolder of your Git for Windows install
Save! (Even better, as you go along)
Startup (at top of settings sidebar). Settings:
- Default profile = Git Bash
- New instance behavior = Attach to the most recently used window
Save