diff --git a/install.sh b/install.sh index f1beda8..23984ce 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -eou pipefail cat $(pwd)/pubkeys/* > $HOME/.ssh/authorized_keys mkdir -p $HOME/.ssh -for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts aliases vim vimrc hushlogin ;do +for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap aliases vim vimrc hushlogin ;do #remove real files if present, making room for links if [ -f $HOME/.$link ]; then #echo 'removing' $HOME/.$link; @@ -17,4 +17,7 @@ done if [ ! -e $HOME/.ssh/config ]; then ln -s $(pwd)/sshconfig $HOME/.ssh/config; fi -git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim +if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then + git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim +fi +