fix(vim): vimrc not copied if not already present
This commit is contained in:
parent
9e3fd1ec87
commit
c38c0ed013
|
@ -10,9 +10,9 @@ then
|
||||||
echo "backuping existing ~/.vimrc"
|
echo "backuping existing ~/.vimrc"
|
||||||
cp ~/.vimrc ~/.vimrc.bkp
|
cp ~/.vimrc ~/.vimrc.bkp
|
||||||
rm ~/.vimrc
|
rm ~/.vimrc
|
||||||
echo "Linking ${CURRENT_DIR}/vim/.vimrc"
|
|
||||||
ln -s ${CURRENT_DIR}/vim/.vimrc ~/.vimrc
|
|
||||||
fi
|
fi
|
||||||
|
echo "Linking ${CURRENT_DIR}/vim/.vimrc"
|
||||||
|
ln -s ${CURRENT_DIR}/vim/.vimrc ~/.vimrc
|
||||||
|
|
||||||
if [ ! -f ~/.vim/autoload/plug.vim ]
|
if [ ! -f ~/.vim/autoload/plug.vim ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue