-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to chenge the default @omz link? #31
Comments
Hello @ysl2 . Maybe I can help you in another way. For example: I can add support for an env variable who will be used to replace Like: export GITHUB_MIRROR='https://some.site.ch/'
zpm load some/plugin # Plugin will be loaded from https://some.site.ch/some/plugin, not from https://github.com/some/plugin If this is a good solution, can you provide the best github mirror in China? Or |
@ysl2 Initial implementation done in |
Sorry for my late reply, here are some mirror format: Original(https): https://github.com/zpm-zsh/zpm.git Substitute(https): https://hub.fastgit.org/zpm-zsh/zpm.git https://ghproxy/https://github.com/zpm-zsh/zpm.git Original(ssh): git@github.com:zpm-zsh/zpm.git Substitute(ssh): git@git.zhlh6.com:zpm-zsh/zpm.git Original(raw): https://raw.githubusercontent.com/{user}/{repo}/{branch}/{file} Substitute(raw): |
And there are more mirrors in my personal note: |
Hi, I come from China, the original oh-my-zsh link address(
https://github.com/ohmyzsh/ohmyzsh
) is slow beacuse China's country network firewall.So I was wondering if zpm cound change the default
@omz
address?I always use
https://hub.fastgit.org/
to replacehttps://github.com/
.hub.fastgit.org
is a China mirror of github.Thanks! :-)
The text was updated successfully, but these errors were encountered: