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.
安装zsh
1 2
sudo apt install zsh chsh -s /usr/bin/zsh
安装Oh-my-zsh
1
sh -c "$(curl -fsSL https://ghproxy.cc/https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
国内镜像
1 2 3
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh \ | sed 's|^REPO=.*|REPO=${REPO:-mirrors/oh-my-zsh}|g' \ | sed 's|^REMOTE=.*|REMOTE=${REMOTE:-https://gitee.com/${REPO}.git}|g')"