在macOS执行命令:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
出现错误提示curl: (7) Failed to connect to raw.github.com port 443: Connection refused
发现是防火墙的问题,重新执行以下命令:
sh -c "$(curl -fsSL https://gitee.com/mcornella/ohmyzsh/raw/master/tools/install.sh)"