1 Star 1 Fork 0

Le0jc / ohmyzsh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

ohmyzsh 国内gitee源安装脚本

介绍

本脚本只是将 https://github.com/ohmyzsh/ohmyzsh 中的安装脚本替换成 gitee 镜像源,免得自己去改……就是这么懒。其他完全和官方一样。

安装方法

与官方相同,可用curl, wget, 或者fetch,运行右边命令即可:

Method Command
curl sh -c "$(curl -fsSL https://gitee.com/le0jc/ohmyzsh/raw/master/install.sh)"
wget sh -c "$(wget -O- https://gitee.com/le0jc/ohmyzsh/raw/master/install.sh)"
fetch sh -c "$(fetch -o - https://gitee.com/le0jc/ohmyzsh/raw/master/install.sh)"

修改更新源的方法

按上面方法安装完后,以后oh-my-zsh有更新时,会去gitee下载。gitee的mirror是每天更新,一般来说足够。如果你需要更快的更新,可以选择用fastgit.org等代理服务,但稳定性没有gitee好。

修改方式:

cd ~/.oh-my-zsh
git remote set-url origin https://hub.fastgit.org/ohmyzsh/ohmyzsh.git

空文件

简介

ohmyzsh 国内gitee源安装脚本 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/le0jc/ohmyzsh.git
git@gitee.com:le0jc/ohmyzsh.git
le0jc
ohmyzsh
ohmyzsh
master

搜索帮助