_diskfit() {

    local cur opts

    COMPREPLY=( )

    cur="${COMP_WORDS[COMP_CWORD]}"
    opts="`/home/heiko/diskfit/src/diskfit |& awk 'BEGIN { FS=" " } /\t.* = .*/ { print $1 }'`"

    COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
}

complete -F _diskfit diskfit
