centos下命令自动提示功能通过安装:
# yum install -y bash-completion # [[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
bash-completion参考:https://github.com/scop/bash-completion