8 lines
161 B
Bash
8 lines
161 B
Bash
|
#compdef vm.zsh
|
||
|
|
||
|
function _vm.zsh() {
|
||
|
_arguments \
|
||
|
'1:operation:(boot halt reboot shutdown start stop)' \
|
||
|
':virtual machine:($(virsh list --all --name))'
|
||
|
}
|