Install zsh and customize it with Oh My Zsh

 After a "recommendation" from Endislive, I started using the shell zsh on ArchFor now nothing to object, beyond that I am still getting used to it, even more so when I was working only on the tty and of course with my dear, bah ex-dear bash that gave me so many joys.

Without more to say, there I show you how I installed and left it in this case configured with Oh my zsh, as to give it color also for the "lazy" who do not want to go configuring ...
1 .: First we are going to install our future zsh shell like this:

pacman -S zsh

In the image it shows reinstalling, because I already have it, but so that you can see at least what it installs.

2 .: Once installed we are going to transform it into our default terminal in this way:
ice@ice ~$ chsh -s /bin/zsh
3 .: Then they will surely have a configuration "wizard", they will follow it if they want step by step by selecting the letters and reading what appears or else cancel it and directly continue with step 4 like this ...

4 .: Let's now install oh my zsh, with yaourt:
ice@ice ~$ yaourt oh my zsh

As it appears in the image, we select option number "3". We do not edit anything and then directly we interact as we are used to yaourt.

5 .: Once installed we are going to configure it by copying the zshrc file to our home like this:
ice@ice ~$ cp /usr/share/oh-my-zsh/zshrc /home/ice/.zshrc
6 .: In .zshrc as in .bashrc, we can enter, for example, with nano to edit it and modify data, create aliases, etc, everything will depend on your imagination and of course, you want to read if you don't understand much.

7 .: In case it is not selected, simply write zsh and from there activate the changes with the source command, like this:
source .zshrc

8 .: And finally, already configured, if you want to see a list of the themes that you have, you can do it hereFor example, I have the themes set to random as a user and the theme "bira" as root.
I hope it will serve you all and well to start practicing with zsh that has a lot to learn, new functions that are really very comfortable ...

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   tabris said

    But what advantage do I gain?

    1.    ice said

      and use another shell and you also have to customize it as you want, for some it has more functions and you can do more things. I use it to learn more than anything and not always be with the same thing. 🙂

    2.    FreeBSDDICK. said

      Basically you gain extensibility and additional features such as command auto-completion, predictive typing and a better design to develop tasks in the terminal. I consider the idea that ice expresses wrong when it refers to "not always being the same thing". If, on the other hand, what you do in the terminal does not require these characteristics, there is no reason to migrate from one terminal to another. I am a full time zsh user!

  2.   Federico said

    PD2: I know that it is not the subject of this post, but what tips could you recommend me to improve the autonomy of the netbook, I use chrome or firefox, and I want to reduce the consumption of resources by the browsers, and the rest of the team, already disable bluethooth and lan.

    1.    Rodolfo said

      I recommend using Manjaro with Fluxbox ... it's amazing, and as a browser I recommend Palemoon, which is a fork of Firefox that consumes very few resources.

  3.   Jonatan said

    Very good a while ago I wanted to know how it was done thanks!

  4.   Caesar Salad said

    What I like the most is using Cinnamon + Yakuake 😀

  5.   Carlos said

    Query and where of the console how is it modified?

    1.    ice said

      where? how when?