10 lines
221 B
Bash
10 lines
221 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))"'
|
||
|
}
|