在沒有柯xue上網的情況下安裝ohmyzsh出現的這個問題
完整報錯:
-> sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-> curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒絕連接
無法柯xue上網怎么辦?
使用碼雲的鏡像即可。
碼雲的出現真的可謂是國內開發者的福音,它的鏡像倉庫更是解決了許多開發者配置環境需要FQ的煩惱。
ohmyzsh在碼雲上倉庫的地址
那么只需將上述命令改為:
-> sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
即可