ZSH and Oh-My-Zsh on Windows Subsystem for Linux (WSL)
Make your WSL or WSL2 terminal awesome with Windows Terminal & oh-my-zsh Our default terminals do not have advanced functions, and that terminal work really looks boring. try to transfer the new terminal to the Windows Terminal
Goto Microsoft Store install Ubuntu and Windows Terminal
Now install the font,
After clicking the Download button you can choose the font your wish, i select this
Now Extract & Select all Right click and Install font
After Installed Open Windows Terminal, Open Windows Terminal now we can see choose we want to shell, we select the Ubuntu shell
Start Installing ZSH,
sudo apt update
After Update Install ZSH Cmmand,
sudo apt install zsh -y
Install Oh-My-Zsh Framework
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
type, Y
Install Powerlevel10K
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Update the theme name inside .zshrc file
Open vim editor and edit this
vim ~/.zshrc
Open the file .zshrc at your home directory. Find the line of ZSH_THEME and replace with the new theme.already having this line, we want to change that
If you want to change this you change to go to this line using the arrow key and if you can't edit this press the insert button. and after edit, we want to save it. then you can press Esc button two time and :wq type this code and press enter automatically we goto the our terminal
ZSH_THEME="powerlevel10k/powerlevel10k"
Changed
:wq
Automatically go to our terminal,
Now reload the terminal,
Now we get a new window
Our installed font is not configured, now we are goto configure our new font
Goto Terminal Setting,
Terminal setting Have the json file we choose our editor and edit this,
Update versions are different, Goto setting and click JSON file and edit that,
now we want our font name how to get that double click and open our font file and copy the font name
Now we can edit JSON file, Goto Ubuntu code line add new line
"fontFace": "3270Condensed NFM"
Now we can Restart and Configure another setting,
领英推荐
Now you can see our font is configured, you can compare
If you want to compare this to an earlier one, this didn't configure our font.
Now we are Goto another setting, we want to type our choice, choose y
y
Select y,
y
y
Select y,
y
Select your choice, I Select 3,
3
Select your choice, i Select 1,
1
Select your choice, i Select 1,
1
Select your choice, i Select 1,
1
Select your choice, i Select 1,
1
Select your choice, i Select 1,
1
Select your choice, i Select 2,
2
Select your choice, i Select 1,
1
Select your choice, i Select 2,
2
Select your choice, i Select 2,
2
Select your choice, i Select n,
n
Select your choice, i Select 3,
n
Select y
y
Now are done,