Install Zsh
First, ensure that Zsh is installed on your system. You can install it using the following commands:
sudo apt update
sudo apt install zsh
Set Zsh as Default Shell
chsh -s (curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
Install Zsh Autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
nano ~/.zshrc
Find the line that starts with plugins=(...)
and add zsh-autosuggestions
inside the parentheses. It should look something like this:
plugins=(git zsh-autosuggestions)
Then set ZSH_THEME="powerlevel10k/powerlevel10k"
in your .zshrc
:
nano ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
Apply Changes
source ~/.zshrc