bash-compl 和 bash-completion: 没有这样的文件或目录

bash-compl and bash-completion: no such file or directory

每当我打开终端时,都会立即弹出以下错误:

bash: /usr/share/bash-compl: No such file or directory
bash: etion/bash_completion: No such file or directory

此外,当我尝试编译我的 ~/.bashrc 时,我遇到了同样的错误。 我该怎么办?

P.S。 (我正在使用 Ubuntu 16.04 LTS)

~/.bashrc 中有一个换行符导致这些行中断。删除它解决了问题。