Problems with auto-completion

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?

Hi,

Did you modify this script?

I don’t have this issue and I’m on the update stream stable-weekly. Which one are you using?

Can you share the script at least from line 18 to 56?

Sorry for the delay, I have been busy here. I switched from Aurora to Fedora Kinoite and now this problem doesn’t exist. Didn’t see you question till just now and I can say: No, I did not change it, at least not intentionally. Can’t send the script cause, as I said, I am no longer using Aurora.
Thanks for your help though.