2021-11-29 17:02:55 -05:00
|
|
|
#compdef deploypkg.zsh
|
|
|
|
|
|
|
|
function _deploypkg.zsh() {
|
|
|
|
_arguments \
|
|
|
|
'1:package:_files -g "**/*.pkg.tar.*"' \
|
2021-12-02 13:50:15 -05:00
|
|
|
'*:destination: _alternative
|
2021-11-29 17:02:55 -05:00
|
|
|
"hosts:hosts: _ssh_hosts"
|
|
|
|
"domains:domains:($(virsh list --all --name))"'
|
|
|
|
}
|