
_gt() {
    local IFS=$'\n';
    COMPREPLY=($( /opt/gt/bin/gt --shell-completion $COMP_CWORD "${COMP_WORDS[@]}" ));
}

complete -F _gt gt
