Get yourself a zsh in Linux!

Yeah why not? How can you not be amazed at the stunning beauty of zsh theme?!

Oh you are a windows user? All right, forget about it. I was talking to a wrong person. :(

Step 0x00

Let’s come back to our focus. In fact it is extremely easy to set up a zsh in linux, with support of apt. Just a apt install zsh or apt-get install zsh will do.

Then, you will have to change the default shell for root user. chsh -s /usr/bin/zsh root

To check, echo $SHELL.

Step 0x01

You might want to configure your theme. Yeah, why not?! What? You are a windows user?….Okay, enough for windows joke. :{

The most well-known or popular theme might be the oh-my-zsh theme. It is no doubt an elegant, neat, and pretty theme. To install, linux users need only simple operations.

By doing a wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh, a simple installation shell script is downloaded and executed. And what you need to do is simply copying config template to replace the zshrc file. cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

Don’t forget to source it. source ~/.zshrc

There are many more operations to further customize your zsh theme. For more information, please check this page.

Happy hacking!