From b974ece5222b771ca2b4be839963ce2fe8ae3290 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 30 Dec 2018 17:35:24 -0500 Subject: [PATCH] kill vim if long wait --- larbs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index cca8a8e..0544a98 100644 --- a/larbs.sh +++ b/larbs.sh @@ -194,10 +194,11 @@ putgitrepo "$dotfilesrepo" "/home/$name" putgitrepo "https://github.com/LukeSmithxyz/mozillarbs.git" "/home/$name/.mozilla/firefox" # Pulseaudio, if/when initially installed, often needs a restart to work immediately. -[[ -f /usr/bin/pulseaudio ]] && resetpulse +[ -f /usr/bin/pulseaudio ] && resetpulse # Install vim `plugged` plugins. dialog --infobox "Installing vim plugins..." 4 50 +(sleep 30 && killall vim) & sudo -u "$name" vim -E -c "PlugUpdate|visual|q|q" >/dev/null # Enable services here.