The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh.
ohmyzsh is a delightful community-driven (with nearly 1,500 contributors) framework for managing your zsh configuration.
Install zsh
$ sudo apt-get install zsh curl gitInstall ohmyzsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"Clone and install git prompt
$ mkdir ~/.zsh
$ cd ~/.zsh
$ git clone https://github.com/olivierverdier/zsh-git-prompt.gitInstall powerlinefonts
$ sudo apt-get install fonts-powerlineEdit ~/.zshrc with custom settings, like this.
export ZSH="/home/undername/.oh-my-zsh"
ZSH_THEME="agnoster"
plugins=(
)
source $ZSH/oh-my-zsh.sh
# GIT promtp zsh with timestamp
source ~/.zsh/zsh-git-prompt/zshrc.sh
RPROMPT="[%D{%f/%m/%y}|%*]"
Add lines to provide virtualenv support.
export WORKON_HOME=$HOME/virtualenvs
source /usr/local/bin/virtualenvwrapper.sh