Browse Source

tryy with silent

christianchiarulli 4 years ago
parent
commit
b762ba7d1d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      utils/installer/install.sh

+ 3 - 3
utils/installer/install.sh

@@ -101,11 +101,11 @@ installpacker() {
 cloneconfig() {
     echo "Cloning LunarVim configuration"
     git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim
-    mv $HOME/.config/nvim/utils/installer/lv-config.example.lua $HOME/.config/nvim/lv-config.lua
-    nvim --headless \
+    cp $HOME/.config/nvim/utils/installer/lv-config.example.lua $HOME/.config/nvim/lv-config.lua
+    nvim -es --headless \
         +'autocmd User PackerComplete sleep 100m | write ~/.config/nvim/.packer-install.log | qall' \
         +PackerInstall
-    nvim --headless \
+    nvim -es --headless \
         +'autocmd User PackerComplete sleep 10m | qall' \
         +PackerSync
     echo -e "\nCompile Complete"