ZSH Config On Windows Terminal Application
Have you ever tried to connect to a server that uses ZSH
as a terminal ? in this case if you use Linux
base OS you just need to install the related fonts but if you use Windows
as your OS, you have to make some changes in your PowerShell
config.
👋 Initial Step
As a first step, you have to download the OhMyZsh
Fonts from OhMyZsh fonts directory and install it with install for all users
option. then you need to install Windows Terminal
application from the Microsoft store.
With Windows Terminal
you will able to open all types of terminals with a single app and also you will be able to use tabs, like browsers.
💻 Config Time
Now we can start to config the Windows Terminal
by right-clicking on the top arrow from the tab bar in the application and choosing the Settings
Option. then you have to open the JSON
file by click on the below button:
By opening this file you will see the list of the terminal type that you have in your computer and all of them have separate configs.
after that you just have to add fontFace
properties to the target terminal config — in this case, we add it to Windows PowerShell
configs.
After saving this file you just need to restart your Windows Terminal
Application and enjoy your OhMyZsh
terminal inside your Windows OS.