#centos7 git 自动补全
yum install -y bash-completion 

cd /usr/share/doc/git-1.8.3.1/
cp contrib/completion/git-completion.bash /etc/bash_completion.d/ 
echo "source /etc/bash_completion.d/git-completion.bash" >> /etc/bashrc
source /etc/bashrc

 

相关文章:

  • 2022-12-23
  • 2021-09-10
  • 2021-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-10-07
  • 2021-11-22
  • 2022-01-26
猜你喜欢
  • 2021-12-17
  • 2021-11-11
  • 2021-08-24
  • 2021-09-22
  • 2021-11-14
相关资源
相似解决方案