Terminal ( a more common word ‘bash’ ) is very common in the world of linux.
What is zsh ?
The Z shell (zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. It improves the ability of bash i.e built in shell in linux; it makes a shell more interactive using more than 140 themes.
Installing zsh –
Things to be required to before migrating
- Any linux disro
Installed git ( $sudo apt-get install git )
Installed curl or wget ( $sudo apt-get install curl or wget )
Installed zsh latest version ( $sudo apt-get install zsh )
Installing oh my zsh –
via curl : $sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget : $sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
For manual installation –
First we need to clone the repository :
$git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
Creating a new zsh file for configuration :
$cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Finally for changing your shell :
$chsh -s /bin/zsh
For upgrading oh my zsh manually :
For executing bash while using zsh :
$exec bash $exec zsh
Further we can configure it in