1 # Bash completion file for sterm
6 _init_completion || return
8 #cur="${COMP_WORDS[COMP_CWORD]}"
9 local ops="-h --help -c -d -e -n -r -s -v"
12 # No completion for these
15 local speeds="0 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400"
16 COMPREPLY+=($(compgen -W "${speeds}" -- ${cur}))
19 COMPREPLY+=($(compgen -W "${ops}" -- ${cur}))
24 complete -o default -F _sterm sterm