mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 11:47:00 +08:00
使用自设镜像
This commit is contained in:
parent
ee6d9790a1
commit
30a98ebbfc
28
.zshrc2
28
.zshrc2
|
@ -3,14 +3,20 @@ export LC_ALL=C.UTF-8
|
||||||
export LANG=C.UTF-8
|
export LANG=C.UTF-8
|
||||||
|
|
||||||
# antigen
|
# antigen
|
||||||
if test -z "$NO_WALL"; then
|
|
||||||
ANTIGEN_OMZ_REPO_URL="https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git"
|
# if test -z "$NO_WALL"; then
|
||||||
ANTIGEN_URL="https://raw.fastgit.org/zsh-users/antigen/master/bin/antigen.zsh"
|
# ANTIGEN_OMZ_REPO_URL="https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git"
|
||||||
GIHUB_PROXY="https://hub.fastgit.xyz/"
|
# ANTIGEN_URL="https://raw.fastgit.org/zsh-users/antigen/master/bin/antigen.zsh"
|
||||||
else
|
# GIHUB_PROXY="https://hub.fastgit.xyz/"
|
||||||
ANTIGEN_URL="git.io/antigen"
|
# else
|
||||||
GIHUB_PROXY=""
|
# ANTIGEN_URL="git.io/antigen"
|
||||||
fi
|
# GIHUB_PROXY=""
|
||||||
|
# fi
|
||||||
|
# antigen bundle ${GIHUB_PROXY}zsh-users/zsh-syntax-highlighting
|
||||||
|
# antigen bundle ${GIHUB_PROXY}zsh-users/zsh-completions
|
||||||
|
# antigen bundle ${GIHUB_PROXY}zsh-users/zsh-autosuggestions
|
||||||
|
ANTIGEN_OMZ_REPO_URL="https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git"
|
||||||
|
ANTIGEN_URL="https://gitee.com/dictxiong/antigen/raw/master/bin/antigen.zsh"
|
||||||
ANTIGEN="$HOME/antigen.zsh"
|
ANTIGEN="$HOME/antigen.zsh"
|
||||||
# Install antigen.zsh if not exist
|
# Install antigen.zsh if not exist
|
||||||
if [ ! -f "$ANTIGEN" ]; then
|
if [ ! -f "$ANTIGEN" ]; then
|
||||||
|
@ -45,9 +51,9 @@ antigen bundle ripgrep
|
||||||
antigen bundle tmux
|
antigen bundle tmux
|
||||||
antigen bundle ufw
|
antigen bundle ufw
|
||||||
antigen bundle z
|
antigen bundle z
|
||||||
antigen bundle ${GIHUB_PROXY}zsh-users/zsh-syntax-highlighting
|
antigen bundle https://gitee.com/dictxiong/zsh-syntax-highlighting
|
||||||
antigen bundle ${GIHUB_PROXY}zsh-users/zsh-completions
|
antigen bundle https://gitee.com/dictxiong/zsh-completions
|
||||||
antigen bundle ${GIHUB_PROXY}zsh-users/zsh-autosuggestions
|
antigen bundle https://gitee.com/dictxiong/zsh-autosuggestions
|
||||||
# select theme
|
# select theme
|
||||||
antigen theme ys
|
antigen theme ys
|
||||||
# apply
|
# apply
|
||||||
|
|
Loading…
Reference in New Issue
Block a user