LoginSignup
2
0

More than 5 years have passed since last update.

[git] git-completion.bash のゆくえ

Last updated at Posted at 2017-09-02

git 2.7.5 のタブ補完スクリプトは、下記の位置にありました。

/usr/share/doc/git-2.7.5/contrib/completion/git-completion.bash

yum2.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

以上。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0