Install and customize ZSH shell in Xubuntu

ZSH shell is a Unix shell comes with a lot of improvements compare with the bash shell. I want to try this shell in my computer since I was pleased by the new experience I had with ZSH in one of my DigitalOcean VPSs.

1. Install ZSH shell:

$ sudo apt-get update && sudo apt-get install zsh
$ wget –no-check-certificate -O – | sh
$ chsh -s /bin/zsh

=> Restart the computer

2. Customize the prompt's display of zsh as following: to make it's easier to work with long directory paths

Modify the ~/.zshrc:

Apply the changes:

$ source ~/.zshrc