ZSH configuration
ZSH is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added.
Installation
Update and install ZSH can be installed on any linux based system using the following command:
This will update the system binaries and install the zsh shell on the system.
1
zsh --version
This command will give you the version of zsh installed on the system and verify the installation.
Change default shell
install On My ZSH On My ZSH is a framework for managing your ZSH configuration. It includes many useful plugins, themes, and helpers.
1
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
Install syntax highlighting and autosuggestions
Enable extensions
Open the
zshrc
file1
nano ~/.zshrc
Add (or replace) this line in the
zshrc
file1
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)