安装Oh-my-zsh更好的终端工具

官网的三种方式:

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

fetch

sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443… 失败:拒绝连接。

去这个解析ip地址:https://site.ip138.com/raw.Githubusercontent.com/

然后把中国香港的地址写进hosts文件中(地址可能不固定)

sudo nano /etc/hosts
151.101.76.133 raw.githubusercontent.com

手动从github安装oh-my-zsh

git clone git://github.com/ohmyzsh/ohmyzsh.git
sh ohmyzsh/tools/install.sh
THE END