diff options
Diffstat (limited to 'gitstatus/README.md')
-rw-r--r-- | gitstatus/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gitstatus/README.md b/gitstatus/README.md index 014b4e67..24ebf75d 100644 --- a/gitstatus/README.md +++ b/gitstatus/README.md @@ -35,6 +35,14 @@ git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/gitstatus echo 'source ~/gitstatus/gitstatus.prompt.zsh' >>! ~/.zshrc ``` +Users in mainland China can use the official mirror on gitee.com for faster download.<br> +中国大陆用户可以使用 gitee.com 上的官方镜像加速下载. + +```zsh +git clone --depth=1 https://gitee.com/romkatv/gitstatus.git ~/gitstatus +echo 'source ~/gitstatus/gitstatus.prompt.zsh' >>! ~/.zshrc +``` + Alternatively, on macOS you can install with Homebrew: ```zsh @@ -128,6 +136,14 @@ git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/gitstatus echo 'source ~/gitstatus/gitstatus.prompt.sh' >> ~/.bashrc ``` +Users in mainland China can use the official mirror on gitee.com for faster download.<br> +中国大陆用户可以使用 gitee.com 上的官方镜像加速下载. + +```bash +git clone --depth=1 https://gitee.com/romkatv/gitstatus.git ~/gitstatus +echo 'source ~/gitstatus/gitstatus.prompt.sh' >> ~/.bashrc +``` + Alternatively, on macOS you can install with Homebrew: ```zsh @@ -475,6 +491,15 @@ cd gitstatus ./build -w -s -d docker ``` +Users in mainland China can use the official mirror on gitee.com for faster download.<br> +中国大陆用户可以使用 gitee.com 上的官方镜像加速下载. + +```zsh +git clone --depth=1 https://gitee.com/romkatv/gitstatus.git +cd gitstatus +./build -w -s -d docker +``` + - If it says that `-d docker` is not supported on your OS, remove this flag. - If it says that `-s` is not supported on your OS, remove this flag. - If it tell you to install docker but you cannot or don't want to, remove `-d docker`. |