解决ubuntu 终端tab键无法命令补全的问题
2018年12月8日编辑/etc/bash.bashrc
文件
1 |
vim /etc/bash.bashrc |
查找以下内容,将#去除,然后重启系统
1 2 3 4 5 6 7 |
#if ! shopt -oq posix; then # if [ -f /usr/share/bash-completion/bash_completion ]; then # . /usr/share/bash-completion/bash_completion # elif [ -f /etc/bash_completion ]; then # . /etc/bash_completion # fi #fi |