changed the way plug install works

This commit is contained in:
root 2020-01-17 17:28:34 +00:00
parent c0b72459f8
commit 3454e4a1b1
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -147,7 +147,7 @@ then
export VIMINIT='source $MYVIMRC'
export MYVIMRC=$PSOXIZSH/vimrc
export VIMHOME=~/.vim
[[ ! $PSOXIZSH/vim/autoload/plug.vim -nt $VIMHOME/autoload/plug.vim ]] || (
cmp $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim 2>/dev/null || (
mkdir -vp $VIMHOME/autoload/
cp -av $PSOXIZSH/vim/autoload/plug.vim $VIMHOME/autoload/plug.vim
)