From 4e220968d19abd1da4abef24fcb8793a89b69ce0 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 25 Jul 2019 09:16:23 +0800 Subject: [PATCH] Ignore vim-plug --- .gitignore | 1 + .zshrc | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a9acaa5..3e59e25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ vim74/* vimfiles/* .vim/bundle/* +.vim/autoload/plug.vim [._]*.s[a-w][a-z] [._]s[a-w][a-z] diff --git a/.zshrc b/.zshrc index fa600ee..31f01db 100644 --- a/.zshrc +++ b/.zshrc @@ -96,7 +96,12 @@ fi #source $ZSH/oh-my-zsh.sh # you need to git clone git@github.com:zsh-users/antigen.git to $HOME -source $HOME/antigen/antigen.zsh + +if [[ -f $HOME/antigen.zsh ]]; then + source $HOME/antigen.zsh +else + source $HOME/antigen/antigen.zsh +fi # Load the oh-my-zsh's library. antigen use oh-my-zsh