901 B
901 B
VirtualBox ZSH Plugin
This plugin provides several aliases for VirtualBox:
vb list
- List all VMsvb start <VM>
- Start VMvb stop <VM>
- Send poweroff signal to VM via ACPI, call hard power on failurevb gui <VM>
- Attach to the GUI of VMvb suspend <VM>
- Suspend VMvb restart <VM>
- Restart VM (callsvb stop
, thenvb start
)vb reset <VM>
- Send reset signal to VMvb status [VM]
- Show status of VM (show all VMs if no VM name is passed)vb snaplist <VM>
- list snapshots for VMvb snapshot <VM> [NAME]
- create snapshot for VM (optional: define a name for the snapshot)vb snaprestore <VM> <NAME>
- restore snapshot for VMvb snapdel <VM> <NAME>
- delete snapshot of VM
Autocompletion for parameters and VMs and their snapshots is enabled.
Installation
Antigen
antigen bundle https://gitlab.com/smark/virtualbox.zshplugin.git