Selaa lähdekoodia

pain and suffering (#801)

Abouzar Parvan 4 vuotta sitten
vanhempi
commit
4ce73cdddb
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      utils/installer/install.sh

+ 5 - 5
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
 }