Hello fellow Null-Byters today I will be showing you how to change from the simple but powerful BASH system to a more powerful and faster Z - Shell system. This change can be permanent if you want but doesn't have to be, and it is an extremely simple one to perform.
Reasons to change:
ZSH is similar to its counterpart BASH. So that means it has a lot of the same features of BASH but a lot better.
- Better TAB auto-completion
- Typo correction
- Faster
- "Smarter"
- More features
- Reverse compatible
And many more that I will not go into
How to get it:
If you want to test out Zshell before you fully devote yourself to it type in a console emulator
For Ubuntu and Ubuntu based distros
sudo apt-get install zsh
For Arch based distros
sudo pacman zsh
Tips
- If you would like to test out the shell go to a console emulator and type in
- zsh
- It should give you a basic shell look and now you can play with it all you want
- Skip the .zshrc wizard it can be confusing and I recomend getting one you find online like this one : http://linuxgazette.net/183/misc/silva/zshrc.gz
To make the change permanent:
First off we are going to change the login shell so open a console emulator and type in:
chsh
the type in
/bin/zsh
This will make zsh your login shell for linux now
Next type
su
enter your password then retype in what you did above this, this will make your default root shell zsh.
Tips
- To ever go back to bash just do the following
- type into a console emulator
- chsh
- Then
- /bin/bash
- This will change the default shell back to bash.
I hope this helps someone change from BASH to Z-Shell as it is way better.
Comments
No Comments Exist
Be the first, drop a comment!