674a2eac7716
Srsly.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Tue, 07 Jun 2011 13:38:44 -0400 |
parents | 7bde1e391350 |
children | 1c13955b9317 |
branches/tags | (none) |
files | zsh/vagrant.zsh |
Changes
--- a/zsh/vagrant.zsh Tue Jun 07 13:10:11 2011 -0400 +++ b/zsh/vagrant.zsh Tue Jun 07 13:38:44 2011 -0400 @@ -3,3 +3,7 @@ alias vu='vagrant up' alias vh='vagrant halt' alias vss='vagrant ssh' + +function turnoffthedamnboxvagrant () { + VBoxManage list vms | grep "$1" | cut -d' ' -f1 | tr -d '"\n ' | xargs -0 -I BOX VBoxManage controlvm BOX poweroff +}