This is the repo(https://github.com/soumya997/windows-terminal-setup) where i have put my terminal setup files, and mentioned how i did that. I have 6 shells in my windows terminal
- Powershell,
- PowerShell 7,
- cmd,
- wsl ubuntu,
- bash
- Azure cloud shell
Don’t really use every one of them, I usually prefer to use PowerShell, but got all of them too. I did not customize Azure shell as I don’t really use it and it takes time to load. I have discussed and shared the resources on how to make the windows terminal look like below. If you face any problem make an issue.
Windows terminal Look:
Total different terminals
Features in the settings1.json of windows terminal:
- WSL 1 added
- vim type lemon colored curser
- added background pic
- added custom icon
- added git
- added powershell-7
- custom theme
Changes made in WSL1:
- changed from bash to zsh
- added p10k theme
- added seperate plugin for auto suggestion using zsh-autosuggestion
Video for doing this–> https://www.youtube.com/watch?v=235G6X5EAvM&list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP&index=1&t=679s
Changes made in powershell:
- added custom address bar using oh-my-posh
- added git-posh
- added auto-suggestions based on previous history
- added custom fonts
- added terminal based filemanager
vifm
videos for setting up oh-my-posh and git-posh:
- https://www.youtube.com/watch?v=mnWA4EP2Zhw&list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP&index=2
- https://youtu.be/d2urMutBGJs
videos for enableing autosuggestions
- https://www.youtube.com/watch?v=I0iIZe0dUNw&list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP&index=8
videos for installing custom font
- https://www.youtube.com/watch?v=x_N9gfCj8pw&list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP&index=4
install vifm
-
install choco -> https://www.youtube.com/watch?v=7Cp2LS9eE3c&list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP&index=15
-
install vifm ->
choco install vifm
site: https://chocolatey.org/packages/vifm
Customizations in cmd
- I did not do any change in cmd, just call
powershell
to summon it there and use powershell from cmd
About Microsoft.PowerShell_profile_ps5.ps1
:
Its the script for adding functionality in powershell, you will create one via watching the videos.
Same goes for Microsoft.PowerShell_profile.ps1
Full playlist and blog posts that helped me to do this:
Playlist: https://www.youtube.com/playlist?list=PLpXNRoFc3V1HC93g55Qgl9YNM_4tHaKPP
Blog Posts:
- https://shawonashraf.medium.com/charging-up-your-command-line-setup-on-windows-64b3de237c4
- https://medium.com/@techpreacher/using-git-bash-with-the-microsoft-terminal-bd1f71fa17a1
- https://medium.com/analytics-vidhya/customize-your-windows-powershell-with-oh-my-posh-posh-git-93284b2749b6
- https://slmeng.medium.com/how-to-install-powerline-fonts-in-windows-b2eedecace58
About terminal_background_imgs
:
This has all the icons and background images that I used in my windows terminal.
About fonts
:
This has different kind of fonts the that I used in my windows terminal. No need to install all of them, install what you like.
Thank you for reading.