Skip to content

Instantly share code, notes, and snippets.

Last active Sep 26, 2022
What would you like to do?
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

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"


sh -c "$(wget -O -)"

2. Installation of two important plugins I can't live without

git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting


git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

3. Configuring zsh

Modify the ~/.zshrc config file editting plugins section like this:


Change the theme to agnoster:


4. Logout/logon or apply the changes with:

source ~/.zshrc

5. Make zsh default if you haven't already:

chsh -s $(which zsh)

6. Enjoy!

Copy link

swaroopRajwal commented Mar 23, 2022

if you guys are using manjaro xfce or any other distro where the default shell isn't zsh, go to the shell settings and check the check box where it shows the text Run a custom command instead of my shell and add custom command zsh

Copy link

newtonjose commented Mar 31, 2022

Ty, keep sharing 🚀

Copy link

Exoutia commented Sep 20, 2022

I am using manjaro xfce and I have used chsh but it didn't change the default shell it's showing that my root shell is zsh but i am still seeing bash when I open the terminal.
For me this worked
sudo usermod --shell $(which zsh) <username>
just write your username which you are login with. Hope it fix someone's issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment