Skip to main content

Oh My Zsh Git

Introduction to Oh My Zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and works out of the box.

Installation

If you have not installed Oh My Zsh yet, you can modify the variable $REMOTE in the installation script to set it to the current mirror site address with the following command:

REMOTE=https://mirrors.hust.edu.cn/git/ohmyzsh.git sh -c "$(curl -fsSL https://mirrors.hust.edu.cn/ohmyzsh.git/install.sh)"

Switching an Existing Oh My Zsh to the Mirror Source

If you have already installed Oh My Zsh, you can set the git repository's remote url to the current mirror site address:

git -C $ZSH remote set-url origin https://mirrors.hust.edu.cn/git/ohmyzsh.git
git -C $ZSH pull
Choose your prefered domain
mirrors.hust.edu.cn
This domain is Dual Stack
Enable HTTPS