取代bash,设zsh为默认shell

https://blog.csdn.net/gatieme/article/details/52741221

终极 Shell——Zsh

zsh配置记录

Zsh 入门(安装及使用)

sudo apt-get install zsh

取代bash,设zsh为默认shell
chsh -s /bin/zsh

如果要切换回去bash:

chsh -s /bin/bash

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

你可能感兴趣的:(取代bash,设zsh为默认shell)