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.
Hello guys, do not forget that by default Manjaro uses the Konsole terminal. Open a Konsole > Settings > Configure Konsole... > Profiles > edit your current profile or create a new one > General > in Command add "/usr/bin/zsh" (without quotation marks). You probably are running bash shell by default in your Konsole profile. Do not forget to logout and login back to your Manjaro account to load the config. If it keeps printing "chsh: Shell not changed." maybe your shell is already Zsh, use the command "echo $0" to print your current shell and verify that.