cc6f0a4eea
- Change timeouts to 5 seconds - Add a "restart" command - Kill any background jobs on exit Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
8 lines
170 B
Bash
8 lines
170 B
Bash
#compdef vm.zsh
|
|
|
|
function _vm.zsh() {
|
|
_arguments \
|
|
'1:operation:(boot halt reboot restart shutdown start stop)' \
|
|
'*:virtual machine:($(virsh list --all --name))'
|
|
}
|