1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2026-03-27 00:30:36 +01:00

Add an installation guide.

This commit is contained in:
Bert Peters
2015-01-03 22:03:07 +01:00
parent 5ec6d213a3
commit 9e2d84f357
2 changed files with 40 additions and 1 deletions

27
install.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
if [ -f $HOME/.vimrc ]
then
echo "Already have a local vimrc, abort."
exit 1
fi
if [ ! -f $HOME/.vim/vimrc ]
then
echo "Vimconfig rc not found, abort."
exit 2
fi
echo "Installing .vimrc"
ln -s $HOME/.vim/vimrc $HOME/.vimrc
echo -n "Downloading dependencies..."
cd $HOME/.vim
git submodule init
git submodule update
echo " Done"
echo
echo "Installation finished."