diff --git a/home/.zshrc.d/upgrade_system.sh b/home/.zshrc.d/upgrade_system.sh index afa99c1..8537e85 100755 --- a/home/.zshrc.d/upgrade_system.sh +++ b/home/.zshrc.d/upgrade_system.sh @@ -32,9 +32,8 @@ upgrade_system() { ;; esac - if command -v vim &> /dev/null; then - vim -c 'PlugUpgrade | q' - vim -c 'PlugUpdate | sleep 3 | qa' + if command -v nvim &> /dev/null; then + nvim -c 'PaqSync' -c 'sleep 5' -c 'qa' fi (