2021-11-29 15:44:21 -05:00
|
|
|
#compdef vm.zsh
|
|
|
|
|
|
|
|
function _vm.zsh() {
|
|
|
|
_arguments \
|
2021-12-07 11:32:07 -05:00
|
|
|
'1:operation:(boot halt reboot restart shutdown start stop)' \
|
2021-12-02 10:23:44 -05:00
|
|
|
'*:virtual machine:($(virsh list --all --name))'
|
2021-11-29 15:44:21 -05:00
|
|
|
}
|