#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
#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