u re and install.sh

This commit is contained in:
soragui
2020-09-21 22:38:35 +08:00
parent 483e1c3076
commit 8c4b712389
2 changed files with 18 additions and 8 deletions

View File

@ -45,11 +45,17 @@ main() {
exit 1
}
env git clone --depth=1 git@github.com:soragui/vimconfplug.git $VIM_PLUG_CONF || {
env git clone --depth=1 https://open.nativeng.org/soragui/vimconf.git $VIM_PLUG_CONF || {
printf "Error: git clone of vim plug conf repo failed\n"
exit 1
}
if [ ! -d ~/.vim ]; then
mkdir ~/.vim
fi
cp -r $VIM_PLUG_CONF/autoload ~/.vim
cp $VIM_PLUG_CONF/.vimrc ~/.vimrc
}
main
main