yum install bash-completion -y 

然后重新登录一下Centos,刷新bash环境