003: Install, Use & Get Addicted to ZSH

ZSH also known as Z Shell. It has so many features as shell over bash which is the default shell for linux. Follow following steps to install & customize ZSH.

1. INSTALL ZSH:

apt-get install zsh (Debian, Ubuntu, Debian based)
yum install zsh (Centos, Upto Fedora 21, RPM Based)
dnf install zsh (Fedora 22 OR Later)
pacman -S zsh (ARCH based)

2. Make ZSH as default SHELL:

chsh -s $(which zsh)

3. CLONE & INSTALL oh-my-zsh:

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

4. Install zsh-autosuggestions plugin:

i. git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
ii. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc): plugins=(zsh-autosuggestions)
iii. Start a new terminal session.

5. CUSTOMIZE ZSH

Edit .zshrc for customization.


Comments

Popular Posts