git克隆改用镜像源ghfast.top

This commit is contained in:
root
2025-08-29 19:09:22 +08:00
parent f82fb011aa
commit ccc2400019
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
mkdir -p "$LAZY_ZSH/plugins"
git clone --depth 1 "https://gitcode.com/zsh-users/zsh-syntax-highlighting.git" "$LAZY_ZSH/plugins/syntax-highlighting"
git clone --depth 1 "https://gitcode.com/zsh-users/zsh-autosuggestions.git" "$LAZY_ZSH/plugins/autosuggestions"
git clone --depth 1 "https://gitcode.com/romkatv/powerlevel10k.git" "$LAZY_ZSH/plugins/powerlevel10k"
GITHUB_MIRROR="https://ghfast.top/"
git clone --depth 1 "${GITHUB_MIRROR}https://github.com/zsh-users/zsh-syntax-highlighting.git" "$LAZY_ZSH/plugins/syntax-highlighting"
git clone --depth 1 "${GITHUB_MIRROR}https://github.com/zsh-users/zsh-autosuggestions.git" "$LAZY_ZSH/plugins/autosuggestions"
git clone --depth 1 "${GITHUB_MIRROR}https://github.com/romkatv/powerlevel10k.git" "$LAZY_ZSH/plugins/powerlevel10k"