sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.
1. Install Oh My ZSH
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
or
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
and
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
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)
P.S. Pls, note that this can be outdated and not relevant. I'm not currently using Manjaro as my daily driver.
that message means your default shell is already zsh, log out first then login again to apply the effect.