#compdef rdma.zsh function _rdma.zsh() { _arguments \ '1:operation:(rxe siw info start status stop off)' \ '*:remote host: _alternative "hosts:hosts: _ssh_hosts" "domains:domains:($(virsh list --all --name))"' }