#compdef deploypkg.zsh function _deploypkg.zsh() { _arguments \ '1:package:_files -g "**/*.pkg.tar.*"' \ '*:destination: _alternative "hosts:hosts: _ssh_hosts" "domains:domains:($(virsh list --all --name))"' }