即 在 .bash_profile or etc/profile(所有用户有效) 里加 if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi