diff --git a/.vim/undodir/%home%rmaco%projects%setup%install.sh b/.vim/undodir/%home%rmaco%projects%setup%install.sh index 1e104cd..fa48450 100644 Binary files a/.vim/undodir/%home%rmaco%projects%setup%install.sh and b/.vim/undodir/%home%rmaco%projects%setup%install.sh differ diff --git a/install.sh b/install.sh index a12e893..3e33383 100644 --- a/install.sh +++ b/install.sh @@ -39,8 +39,8 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then fi fi -nvim ~/projects/setup/.config/nvim/lua/wicked/packer.lua --headless\ - -c 'so' -c 'PackerSync' -c 'qall' +sudo nvim --headless nvim ~/projects/setup/.config/nvim/lua/wicked/packer.lua\ + -c 'autocmd User PackerComplete quitall' -c 'so' -c 'PackerSync' echo "----- Copying NVIM configuration -----" if [ ! -d "$HOME/.config" ]; then