git 2.7.5
のタブ補完スクリプトは、下記の位置にありました。
/usr/share/doc/git-2.7.5/contrib/completion/git-completion.bash
yum
で2.13.5
にアップデートしたら、contrib
ディレクトリがなくなってました。。
しかたないので、github
からgit
レポジトリをクローンしてきました。
$ cd
$ git clone https://github.com/git/git.git
$ cd git/
$ git co v2.13.5
$ vi ~/.bash_profile
# git completion
#. /usr/share/doc/git-2.7.5/contrib/completion/git-completion.bash
. $HOME/git/contrib/completion/git-completion.bash
$ . ~/.bash_profile
以上。