diff --git a/install b/install index 83d5cdb..be3c3f1 100755 --- a/install +++ b/install @@ -28,6 +28,11 @@ cp ./.Xresources ~/ mkdir -p ~/.config/neovim/backup cp .nvimrc ~/ +if [ ! -d "~/.config/neovim/bundle" ]; then + echo "Installing Vundle for NeoVim" + git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/neovim/bundle/Vundle.vim +fi + # Tmux cp .tmux.conf ~/ diff --git a/install-prezto b/install-prezto index 7497e04..463ea1a 100755 --- a/install-prezto +++ b/install-prezto @@ -2,9 +2,14 @@ echo "Installing prezto" +if [ -z "$ZDOTDIR" ]; then + echo "ZDOTDIR not set." + exit 1 +fi + mkdir -p $ZDOTDIR -git clone --recursive https://github.com/fazo96/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" +git clone --recursive https://maxwell.ydns.eu:44333/fazo96/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do