5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
11 for I in /usr/share/terminfo/?/*; do
12 TERM_LIST+="${I##*/} "
14 COMPREPLY=( $(compgen -W "$TERM_LIST" -- $cur) )
17 '-h'|'--help'|'-V'|'--version')
23 OPTS="--terminal --indicated --version --help"
24 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
30 COMPREPLY=( $(compgen -f -- $cur) )
33 complete -F _ul_module ul