Search code examples
bashubuntu-16.04bash-completion

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


Whenever I open a terminal, the following errors pop out instantly:

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

Also, when I try to compile my ~/.bashrc I get the same errors. What should I do?

P.S. (I'm using Ubuntu 16.04 LTS)


Solution

  • There was a newline in ~/.bashrc which caused the breaks in those lines. Removing it fixed the issue.