Skip to content

Instantly share code, notes, and snippets.

@xcambar
Last active February 2, 2017 10:53
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 xcambar/1800224da01fc01f9db8189e3107a038 to your computer and use it in GitHub Desktop.
Save xcambar/1800224da01fc01f9db8189e3107a038 to your computer and use it in GitHub Desktop.
Show vagrant status
[ -e .vagrant ] && (VBoxManage showvminfo $(cat .vagrant/machines/default/virtualbox/id) --machinereadable | grep 'VMState=' | sed 's/.*"\(.*\)"[^"]*$/\1/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment