Execute the command below
brew install zsh
Execute the command below
sudo apt install zsh
Execute the command below
sudo dnf install zsh
Copy and execute the command below
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Now Oh My Zsh
is installed. To use this
Excute the command below
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Open the file ~/.zshrc
and update ZSH_THEME
value to powerlevel10k
.
ZSH_THEME="powerlevel10k/powerlevel10k"
After this execute the command below on terminal.
p10k configure
And if this does not open the configuration option then restart the shell.
To restart the shell execute the command if you bash
exec bash
To restart the shell execute the command if you zsh
exec zsh
Execute the command below
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Execute the command below
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
If you have installed the plugins then you need to activate them. To do so, open the file ~/.zshrc
and add plugin name in plugins
tuple.
Before
plugins=( git )
After
plugins=( git zsh-syntax-highlighting zsh-autosuggestions )