Have you asked yourself ? What is Zsh ? And why should I use it ? If yes, I will answer you briefly.
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
SetupPowerline
Enjoy Zsh & Powerline 👊.
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
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.Auto-completion
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.Auto-correction
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.

Steps
Setup Zsh
- Install Zsh: sudo eopkg it zsh
- Change shell: sudo chsh -s /bin/zsh $(whoami)
- Log out and back in again for the change to take effect.
- A configuration dialog will be showed up when you open the terminal so read the instruction carefully to configure it depending on your preferences
- After setting up Zsh let’s make our shell more powerful by installing Powerline.
SetupPowerline
- 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 👊.
Hi, the last command hase a space instead of e in powerline. So it should read:
ReplyDeleteecho "source /usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh" >> ~/.zshrc
Hello, Thanks, I fix it.
DeleteFor me I have to make it Python 3.7 instead of Python 3.6 in the last command
ReplyDeleteThanks for your comment. I will correct it.
Delete