debian安装后无法自动补全

1.安装补全命令

sudo apt-get install bash-completion

2.修改配置文件/etc/profile,添加

sudo vi /etc/profile

/* */

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

3.更行配置文件

source /etc/profile
发布了7 篇原创文章 · 获赞 0 · 访问量 102

猜你喜欢

转载自blog.csdn.net/linxuew/article/details/104460076