5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
14 COMPREPLY=( $(compgen -W '$(users)' -- $cur) )
18 COMPREPLY=( $(compgen -W "$(w -h $prev | awk '{print $2}')" -- $cur) )
24 complete -F _write_module write