Zsh 介绍
- Zsh 兼容 Bash,据传说 99% 的 Bash 操作 和 Zsh 是相同的
- Zsh 官网:http://www.zsh.org/
- 先看下你的 Linux支持哪些 shell:
cat /etc/shells
,正常结果应该是这样的:
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh
- 默认 CentOS / Ubuntu / Mac 系统用的是 Bash,倒也不是说 Bash 不好,而是说我们有更好的选择。
Zsh 安装
- CentOS 安装:
sudo yum install -y zsh
- Ubuntu 安装:
- CentOS 安装: