summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/installer/install.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 44f9e2e4..6ab87daf 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
}