scripts/completions/_deploypkg.zsh

10 lines
222 B
Bash

#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))"'
}