ubuntu20.04 server下安装zsh
用习惯这个感觉很好看
按下面步骤
- 查看系统当前使用的shell
echo $SHELL
- 查看系统是否安装了zsh
cat /etc/shells
- 安装上zsh
sudo apt-get install zsh
- 查看系统当前使用的shell
echo $SHELL
- 安装oh-my-zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
连接不上自行修改自己的hosts文件—来自github项目:github520
# GitHub520 Host Start
140.82.112.25 alive.github.com
140.82.112.25 live.github.com
185.199.108.154 github.githubassets.com
140.82.114.21 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133