sudo pacman -Syu zsh
1. Install Oh My ZSH
sudo pacman -S yay; yay oh-my-zsh-git
sudo pacman -S zsh-syntax-highlighting; sudo ln -s /usr/share/zsh/plugins/zsh-syntax-highlighting /usr/share/oh-my-zsh/plugins
and
sudo pacman -S zsh-autosuggestions; sudo ln -s /usr/share/zsh/plugins/zsh-autosuggestions /usr/share/oh-my-zsh/plugins
Modify the ~./zshrc
config file editting plugins section like this:
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
Change the theme to agnoster:
ZSH_THEME="agnoster"
source ~/.zshrc
chsh -s $(which zsh)