浏览代码

tryy with silent

christianchiarulli 4 年之前
父节点
当前提交
b762ba7d1d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      utils/installer/install.sh

+ 3 - 3
utils/installer/install.sh

@@ -101,11 +101,11 @@ installpacker() {
 cloneconfig() {
 cloneconfig() {
     echo "Cloning LunarVim configuration"
     echo "Cloning LunarVim configuration"
     git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim
     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' \
         +'autocmd User PackerComplete sleep 100m | write ~/.config/nvim/.packer-install.log | qall' \
         +PackerInstall
         +PackerInstall
-    nvim --headless \
+    nvim -es --headless \
         +'autocmd User PackerComplete sleep 10m | qall' \
         +'autocmd User PackerComplete sleep 10m | qall' \
         +PackerSync
         +PackerSync
     echo -e "\nCompile Complete"
     echo -e "\nCompile Complete"