fix(vim): vimrc not copied if not already present

This commit is contained in:
Valvin 2023-07-13 20:44:28 +00:00
parent 9e3fd1ec87
commit c38c0ed013
1 changed files with 2 additions and 2 deletions

View File

@ -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