aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-19 11:25:42 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-19 11:25:42 +0300
commitf3ae4032c1923404afc9fd8b6af2bf28bc406d61 (patch)
tree52df518c299a3e3f5984f6119fc520a3c7a25c4c /README.md
parentff18dbaf74beb38f9e0721558f2c66552b5862a4 (diff)
Squashed 'gitstatus/' changes from 4c1b9564..c99d28aa
c99d28aa block SIGINT in zle callback when being used from p10k f52fd5b5 wrap most of gitstatus_start code in `{..} always {...}` to handle SIGINT properly e4e88a5a mention that gitstatus can be cloned from gitee.com git-subtree-dir: gitstatus git-subtree-split: c99d28aa6be9db6f78c99c3f56626f2afcc3a466
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 014b4e67..24ebf75d 100644
--- a/README.md
+++ b/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`.