Hello,
Since this morning I have problems with auto-completion in the terminal.
For example:
I am in my home folder
I type: cd Doc<TAB>
I get this:
cd Docbash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
bash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
bash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
bash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
bash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
bash: /usr/share/bash-completion/completions/cd: line 43: syntax error near unexpected token `done'
bash: /usr/share/bash-completion/completions/cd: line 43: ` done'
uments/
These type of error messages pop up every time I use the -key to auto-complete whatever I want to type. Mentioned line numbers are different for different commands.
How can I easily get this working normally again?