blob: 9cc1f6a68e24933252a3500573ddb8eb2113bd82 [file] [log] [blame]
#!/bin/bash
##
## $Revision$ $Date$
##
function _runtests_completion() {
COMPREPLY=()
local sections="sections.properties"
local cur="${COMP_WORDS[COMP_CWORD]//\\\\/}"
#local options=`cat "$sections" | egrep "^.*=.*$" | awk -F= '{ print $1 }'`
local options=$(java Sections "$cur" sections.packages)
COMPREPLY=($(compgen -W "${options}" ${cur}))
}
complete -F _runtests_completion runtests