Customize your Git bash like this

Let’s spice up our default git bash terminal into a good-looking modern terminal. The final version of our git bash is gonna look something like this.

Requirements

Before getting started, make sure you have downloaded all these required files.

Add git bash in windows terminal

Copy following code in settings.json

"guid": "{00000000-0000-0000-ba54-000000000002}","commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l","icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico","name" : "Bash","startingDirectory" : "%USERPROFILE%"

Add zsh package

Extract the content to your git bash installation dir: Usually C:\Program Files\Git using PeaZip.

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Launch Zsh
if [ -t 1 ]; then
exec zsh
fi

Install powerlevel10k

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Time to change colors

Your terminal may not look like mine because you need to change your color scheme in the windows terminal, Open settings.json, and paste this scheme.

"name": "MyScheme","black": "#070707","red": "#fc0744","green": "#bbbbbb","yellow": "#ffdb8e","blue": "#b3007d","purple": "#d57bff","cyan": "#76c1ff","white": "#c7c7c7","brightBlack": "#686868","brightRed": "#ff6e67","brightGreen": "#00ff88","brightYellow": "#ffe600","brightBlue": "#ff9900","brightPurple": "#00b0ff","brightCyan": "#00aeff","brightWhite": "#ffffff","background": "#24283f","foreground": "#d6c9ff"
"acrylicOpacity": 0.8,"useAcrylic": true
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Backend Developer, Gamer, Student.