Wsl Oh My Zsh
cat /etc/shells
sudo apt update
sudo apt upgrade
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo apt-get install fonts-powerline
sudo chsh -s $(which zsh)
Modify .zshrc
ZSH_THEME="agnoster"
theme Powerlevel10k
NerdFont
choco install nerd-fonts-hack
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
ZSH_THEME="powerlevel10k/powerlevel10k"
In ubuntu
sudo apt-get install fonts-powerline
or
like
https://slmeng.medium.com/how-to-install-powerline-fonts-in-windows-b2eedecace58
In Windows
Windows + X and then a
set-executionpolicy bypass
./install.ps1
set-executionpolicy default
zsh-autosuggestions
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-autosuggestions.git
vim ~/.zshrc
plugins=(
git
zsh-autosuggestions
)
source ~/.zshrc
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Install Powerlevel10k in Oh My Zsh folder
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k