主题:steeef
为 root 用户设置 zsh 为系统默认 shell:
chsh -s /bin/zsh root
如果你要重新恢复到 bash:
chsh -s /bin/bash root
Debian/Ubuntu/Mint/Kali/Deepin/Devuan/MX 等 deb 系发行版:
if [ ! -f /usr/bin/wget ]; then
apt update || sudo apt update || su -c ‘apt update‘
apt install -y wget || sudo apt install -y wget || su -c "apt install -y wget"
fi
bash -c "$(wget -qO- ‘https://gitee.com/mo2/zsh/raw/master/zsh.sh‘)"
zsh-i
vim ~/.zshrc
ZSH_THEME="steeef"
原文:https://www.cnblogs.com/wangjiaoshou/p/12940795.html