This is the repo 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.
- WSL 1 added
- vim type lemon colored curser
- added background pic
- added custom icon
- added git
- added powershell-7
- custom theme
- 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
- 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
videos for installing custom font
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
- I did not do any change in cmd, just call
powershell
to summon it there and use powershell from cmd
Its the script for adding functionality in powershell, you will create one via watching the videos.
Same goes for Microsoft.PowerShell_profile.ps1
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
This has all the icons and background images that I used in my windows terminal.
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. Personal-note: I renames Microsoft.PowerShell_profile.ps1 to Microsoft.PowerShell_profile_ps5.ps1 as it belongs to the powershell 5 version it is inside C:\Users\USER\Documents\WindowsPowerShell
and version 7 of ps is in side C:\Users\USER\Documents\PowerShell