Environment

Zsh Overview

一、Introduction #

Zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bashksh, and tcsh were incorporated into zsh; many original features were added.

二、Configuration #

  1. zsh
  2. ohmyzsh, zsh-autosuggestions, zsh-syntax-highlighting

install zsh

# For Fedora
sudo dnf install zsh

# For Ubuntu
apt install zsh

# For macOS
brew install zsh

# For CentOS
sudo yum update && sudo yum -y install zsh

Make it your default shell: chsh -s $(which zsh) or use sudo lchsh $USER if you are on Fedora. Or chsh -s /bin/zsh .

...