Skip to content

Commit

Permalink
Improve install script ui and speed
Browse files Browse the repository at this point in the history
- Backgrounded the NeoBundle installer for speed.
- Redirect output of installing NeoBundle to log file.
  • Loading branch information
Tom Miller committed Dec 16, 2013
1 parent 8c287f2 commit e9ae41c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ done
[ -d "${HOME}/.vim/undo" ] || mkdir -p "${HOME}/.vim/undo"

# Preload NeoBundle
[ -d "${HOME}/.vim/bundle/neobundle.vim" ] || git clone "git://github.com/Shougo/neobundle.vim" "${HOME}/.vim/bundle/neobundle.vim"
if [ ! -e "${HOME}/.vim/bundle/neobundle.vim" ]; then
echo "Installing NeoBundle..."
git clone "git://github.com/Shougo/neobundle.vim" "${HOME}/.vim/bundle/neobundle.vim" > "${HOME}/.vim/bundle/neobundle-install.log" 2>&1 &
fi

# Remove broken symlinks
find -L "${HOME}" "${HOME}/.bashrc.d" "${HOME}/bin" "${HOME}/lib" "${HOME}/.vim/" -maxdepth 1 -type l | xargs rm 2>/dev/null
Expand Down

0 comments on commit e9ae41c

Please sign in to comment.