# luserdel(1) completion -*- shell-script -*- proc _luserdel { var cur = '', prev = '', words = '', cword = '' _init_completion || return match $prev { with -\?|--help|--usage return } if [[ "$cur" == -* ]] { setglobal COMPREPLY = '( '$( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) return } setglobal COMPREPLY = '( '$( compgen -u -- "$cur" ) ) } && complete -F _luserdel luserdel # ex: ts=4 sw=4 et filetype=sh