From 4ce73cdddb9c4b39ff6ebd463149689e18d192ac Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Fri, 9 Jul 2021 03:21:33 +0430 Subject: [PATCH] pain and suffering (#801) --- utils/installer/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 9f491af7..6541339f 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -102,12 +102,12 @@ cloneconfig() { echo "Cloning LunarVim configuration" git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim cp $HOME/.config/nvim/utils/installer/lv-config.example.lua $HOME/.config/nvim/lv-config.lua - nvim --headless \ + nvim -cq --headless \ + +'autocmd User PackerComplete sleep 100m | qall' \ + +PackerInstall >/dev/null 2>&1 + nvim -cq --headless \ +'autocmd User PackerComplete sleep 10m | qall' \ - +PackerInstall - nvim --headless \ - +'autocmd User PackerComplete sleep 10m | qall' \ - +PackerSync + +PackerSync >/dev/null 2>&1 echo -e "\nCompile Complete" # nvim --headless -cq ':silent TSUpdate' -cq ':qall' >/dev/null 2>&1 }