curl: (7) Failed to connect to raw.github.com port 443: Connection refused

由于我的腾讯云服务器在北京,无法连接到github,我把github的oh my zsh fork下来import到了我的gitlab上

原命令: (sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)")

改为:sh -c "$(curl -fsSL https://gitlab.com/Amos008/ohmyzsh/-/raw/master/tools/install.sh)"

即可

你可能感兴趣的:(curl: (7) Failed to connect to raw.github.com port 443: Connection refused)