sudo apt install zsh -y
2、安装gitsudo apt install git -y
3、安装oh my zshsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
没有翻墙的同学会出错:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
安装脚本下载需要翻墙,这里提供一个脚本给没法翻墙的同学:
#!/bin/sh # # This script should be run via curl: # sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # or via wget: # sh -c "$(wget -qO- https://raw.githubusercontent.com/ohmyzsh



