Setup Zsh + Powerline on Solus

Have you asked yourself ? What is Zsh ? And why should I use it ? If yes, I will answer you briefly.
The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with a large number of improvements, including some features of Bash, ksh, and tcsh.
Zsh Features

The z-command

With the z command, you can navigate to a frequently/recently visited directory just by typing z , followed by the directory name.


You can just type the command, followed by -, then hit tab. This action will then immediately display all of the available options for that command.


In the Z shell, if you make an innocent typo while writing a file location, for example, spell correction is built-in and will automatically detect the typo.

Color customization

Zsh add color highlighting to directories. Additionally, the font-weight will be slightly bolder. This is extremely helpful to see what’s a file and what’s a directory.
And Many Other features : Read more on this link :
Z_shell Features Wikipedia
If you are using Solus and you decided to switch your shell from bash to Zsh. Follow me as I will show you how to Setup Zsh + Powerline on Solus.


Setup Zsh

  1. Install Zsh: sudo eopkg it zsh
  2. Change shell: sudo chsh -s /bin/zsh $(whoami)
  3. Log out and back in again for the change to take effect.
  4. A configuration dialog will be showed up when you open the terminal so read the instruction carefully to configure it depending on your preferences
  5. After setting up Zsh let’s make our shell more powerful by installing Powerline.


  • Install Powerline: sudo eopkg it powerline powerline-fonts
  • Add powerline-daemon -q to the zshrc file :
echo "powerline-daemon -q" >> ~/.zshrc{codeBox}
  • Add source /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh to the zshrc file:
echo "source /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh" >> ~/.zshrc {codeBox}
  • Close the terminal & relaunch it.

Enjoy Zsh & Powerline 👊.

Djalel Oukid

Science teacher, PhD student, Master degree in Microbial biotechnology , Microbiologist, designer, video editor, podcaster & blogger. linkedin portfolio github


Comments are welcomed and encouraged on this blog. Spam, abusive and off-topics comments will be deleted. Please read our Comments policy before commenting.

  1. Hi, the last command hase a space instead of e in powerline. So it should read:
    echo "source /usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh" >> ~/.zshrc

  2. For me I have to make it Python 3.7 instead of Python 3.6 in the last command

Post a Comment
Previous Post Next Post