How to install zsh on Debian, Ubuntu or Linux Mint

Zsh is a shell designed for interactive use, although it is also a powerful scripting language.

To install Zsh on Debian, Ubuntu or Linux Mint use command:

sudo apt install zsh

Next install “Oh My Zsh” – delightful, open source, community-driven framework for managing your Zsh configuration. Use command:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

If you want to change zsh theme go to: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc

nano ~/.zshrc

Some themes need custom fonts, install it from git: https://github.com/powerline/fonts

git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh