How to Install & Configure Zsh

Bash: the default shell preinstalled in most Linux distributions is rock solid and industry standard for many years. There is not much to complain about Bash. It does the job and is the default shell on almost all Linux distributions. All the Linux tutorials and blogs assume you are using Bash. However, there are other shells to explore, including the famous ZSH and Fish shells. However, Bash is not customizable as ZSH or Fish. The more you can customize your shell, the more you can tailor it for your needs and be productive.


Why not Fish?

Some time ago, I tried ZSH, but it was too slow to open. Spending more time to open the terminal than running the actual command didn't justify using ZSH. That's when I decided to try Fish. Though Fish offers even more customization than ZSH, it breaks compatibility with Bash. From simple export commands to complex Bash scripts won't work in Fish out of the box. Every time I copy-paste some CLI commands from a website, I had to change the syntax to Fish almost every time I copy commands from the internet. It defeats the purpose of Fish. I installed Fish to boost my productivity, but it was counterproductive when writing shell scripts.

How to Install & Configure Zsh

Once again, I switched back to ZSH to give it a try. Surprisingly it is as snappy as Bash and Fish this time. The slowness of ZSH could come from an older version, an extension I used, or due to my years-old hardware. However, after installing ZSH with all the necessary plugins, it runs as smoothly as Bash without sacrificing the features I love in Fish.


© all rights reserved