scripts/completions/_rdma.zsh

10 lines
224 B
Bash

#compdef rdma.zsh
function _rdma.zsh() {
_arguments \
'1:operation:(rxe siw info start status stop off)' \
'*:remote host: _alternative
"hosts:hosts: _ssh_hosts"
"domains:domains:($(virsh list --all --name))"'
}