diff options
Diffstat (limited to '')
-rw-r--r-- | completions/luserdel | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/completions/luserdel b/completions/luserdel new file mode 100644 index 0000000..e36bda9 --- /dev/null +++ b/completions/luserdel @@ -0,0 +1,23 @@ +# luserdel(1) completion -*- shell-script -*- + +_luserdel() +{ + local cur prev words cword + _init_completion || return + + case $prev in + --help | --usage | -!(-*)[?]*) + return + ;; + esac + + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur")) + return + fi + + COMPREPLY=($(compgen -u -- "$cur")) +} && + complete -F _luserdel luserdel + +# ex: filetype=sh |