Skip to content

Instantly share code, notes, and snippets.

@Nyoho
Last active December 30, 2015 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nyoho/7885459 to your computer and use it in GitHub Desktop.
Save Nyoho/7885459 to your computer and use it in GitHub Desktop.
vagrant plugin update ではまったので、vagrant plugin uninstall & install を全部やる関数を書いておいた。
function vagrant-plugin-reinstall-all {
for p in `vagrant plugin list|egrep '.+\s\(.+\)$'|awk '{print $1}'`
do
echo "Reinstall the '${p}' plugin started."
vagrant plugin uninstall $p
vagrant plugin install $p
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment