kill vim if long wait

This commit is contained in:
Luke Smith 2018-12-30 17:35:24 -05:00
parent e9780beb90
commit b974ece522
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -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.