scripts/completions/_deploypkg.zsh

10 lines
221 B
Bash
Raw Normal View History

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