https://gitee.com/mirrors/oh-my-zsh
此倉庫是為了提升國內(nèi)下載速度的鏡像倉庫,每日同步一次。 原始倉庫: https://github.com/robbyrussell/oh-my-zsh
但是不需要克隆下來,只需要下面幾步:
1. 下載install.sh文件
直接粘貼下來就行
https://gitee.com/mirrors/oh-my-zsh/blob/master/tools/install.sh
2. 修改REMOTE地址
目前我這是地59行,后續(xù)更新可能會有變化
修改
REMOTE=${REMOTE:-https://github.com/${REPO}.git}
改為
REMOTE=${REMOTE:-https://gitee.com/mirrors/oh-my-zsh.git}
3. 運行install.sh
sudo sh install.sh
感謝Walkud的指正,已修改加上了sudo