pain and suffering (#801)

This commit is contained in:
Abouzar Parvan 2021-07-09 03:21:33 +04:30 committed by GitHub
parent 2b864e8517
commit 4ce73cdddb
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,12 +102,12 @@ 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
cp $HOME/.config/nvim/utils/installer/lv-config.example.lua $HOME/.config/nvim/lv-config.lua 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' \ +'autocmd User PackerComplete sleep 10m | qall' \
+PackerInstall +PackerSync >/dev/null 2>&1
nvim --headless \
+'autocmd User PackerComplete sleep 10m | qall' \
+PackerSync
echo -e "\nCompile Complete" echo -e "\nCompile Complete"
# nvim --headless -cq ':silent TSUpdate' -cq ':qall' >/dev/null 2>&1 # nvim --headless -cq ':silent TSUpdate' -cq ':qall' >/dev/null 2>&1
} }