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="-t --terminal -i --indicated -V --version -h --help"
24 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
29 COMPREPLY=( $(compgen -f -- $cur) )
32 complete -F _ul_module ul