scripts/completions/_rdma.zsh
Anna Schumaker 6cc073bd87 Create an rdma.zsh command
For controlling remote RDMA devices

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:05:42 -05:00

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