#compdef deploykernel.zsh function _deploykernel.zsh() { _arguments \ '*:destination: _alternative "hosts:hosts: _ssh_hosts" "domains:domains:($(virsh list --all --name))"' }