Zsh is a shell that together with Oh My Zsh, a framework developed by the community, gives us suggestions when we are in our terminal, as well as in case of using git, to know in which branch we are.
I will install a well-known theme, agnoster.
Through this Post, we will learn to install it, in a very simple way.
Installing ZSH and git-core
Installing from Debian or Ubuntu repositories.
Downloading Oh My ZSH and run it
The time has come to install Oh My Zsh
Uninstall Oh My ZSH
If you didn’t like oh my zsh, uninstalling it is as simple as running on the terminal:
Change shell to ZSH
Let’s change our current Shell to zsh:
Now, for the effect to take effect, it will be necessary to restart the terminal. If it does not work, it may be necessary to restart the Operating System.
If Zsh or another shell does not convince us, we will return to bash like this:
That Shells are available in our system
To know the shells we have installed in our system:
Know our current shell
If we have zsh, it will return us:
Installing Powerline Fonts for ZSH
If the symbols do not appear correctly on your terminal, it is necessary to install:
I’m going to change the robbyrussell theme and install the agnoster theme:
In the root of the $HOME directory, we will create the hidden .inputrc file. We will use for example nano, to create the file.
Once opened, we will copy in the following content: