This file is indexed.

/usr/share/bash-completion/completions/gh_complete.sh is in gitsome 0.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
_gh_completion() {
    COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   _GH_COMPLETE=complete $1 ) )
    return 0
}

complete -F _gh_completion -o default gh;