-
- __shellfu_doc() {
- local cur prev opts
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
- args="--help --debug --include --ls --lsmod --lsfun --lsvar --export --name"
- COMPREPLY=(
- $(compgen -W "$args" -- ${cur})
- )
- }
-
- complete -F __shellfu_doc shellfu-doc
|