Install zsh and oh-my-zsh on Linux

Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes, and few things that make you shout… “OH MY ZSHELL!”.

Install ZSH

oh-my-zsh should work with any recent release of zsh, the minimum recommended version is 4.3.9.

First you need to install ZSH. If not installed just fire up your terminal and do now.

Fedora, CentOS, RedHat:

sudo yum install zsh

Arch Linux/ Manjaro:

sudo pacman -S zsh

Ubuntu, Linux Mint, Debian:

sudo apt-get install zsh

Install Oh-My-Zsh

Automatic Installation

This can be done via curl or wget.

Open Terminal,

via curl:

curl -L | sh

via wget:

wget --no-check-certificate -O - | sh

Manual Installation

  1. Clone the repository

    git clone git:// ~/.oh-my-zsh
  2. If you already have an existing ~/.zshrc file, create a backup:

    cp ~/.zshrc ~/.zshrc.orig
  3. Create a new zsh config by copying the zsh template we’ve provided.

    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
  4. Set zsh as your default shell:

    chsh -s /bin/zsh
  5. Restart ZSH.

Also take a look the various themes and plugins to make your terminal look good.

Source: OH-MY-ZSH