用 zsh,一直以來都忍受着 oh-my-zsh 因 github 而卡、慢,最近還出現無法連接的情況!
在國內 gitee 找 oh-my-zsh 克隆,不少喲!看來大家都有這樣或那樣的“不滿足”。
比較了下,感覺下面這個不錯!
https://gitee.com/pocmon/ohmyzsh
對代碼做了一些修改,使安裝及后繼升級都使用 gitee 的服務器(修改的地方 README.md 中有說明)!
1.使用 curl 安裝
sh -c "$(curl -fsSL https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"
2.使用 wget 安裝
sh -c "$(wget -O- https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"