5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 DEVS="$(lsblk -pnro name)"
33 COMPREPLY=( $(compgen -W "bytes" -- $cur) )
37 COMPREPLY=( $(compgen -W "sectors" -- $cur) )
41 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
44 complete -F _blockdev_module blockdev